![](/img/trans.png)
[英]Mixing C++11 std::thread and C system threads (ie pthreads)
[英]Windows threads (c run-time, pthreads, std::thread)
也許這是一個不正確的問題,但是我試圖用一個圖片來鏈接:
請給我解釋:
簡短的回答是, std::thread
是操作系統的線程API的高層抽象。 它在Windows上使用線程WinAPI,在Linux上使用pthreads
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.