Skip to content

C++ 语言内置了多线程机制的哦 #544

Description

@chxuan

大佬你好,大佬在Java基础知识->Java 语言有哪些特点上写到C++ 语言没有内置的多线程机制,其实
从C++11开始(2011年的时候)C++就引入了多线程库,在windows、linux、macos都可以使用std::thread和std::async来创建线程。

参考链接:
http://www.cplusplus.com/reference/thread/thread/?kw=thread

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions