我正在問關於多線程編程的概念 以及使用C++/C#的好例子的一個很好的參考?多線程參考?
多線程參考?
回答
閱讀很好的參考:
Thread Management In The CLR
Round-Robin Access To The ThreadPool
Multithreading with C#
Why are thread safe collections so hard?
Threading in C#
Jeffrey Richter’s Power Threading Library
Implementing a Thread-Safe Queue using Condition Variables
Threading Building Blocks.org!
Sutter’s Mill - Effective Concurrency: Understanding Parallel Performance
Sutter’s Mill - Effective Concurrency: Use Threads Correctly = Isolation + Asynchronous Messages
Thread Synchronization (C# Programming Guide)
How to synchronize access to a shared resource in a multithreading environment by using Visual C#
Use Threads Correctly = Isolation + Asynchronous Messages
Parallel and Multi-Core Computing with C/C++
Thinking in Concurrently in .NET
Programming the Thread Pool in the .NET Framework
Visual Basic .NET: Tracing, Logging, and Threading Made Easy with .NET
Juice Up Your App with the Power of Hyper-Threading
Concurrency Hazards - Solving 11 Likely Problems In Your Multithreaded Code
INFO: Descriptions and Workings of OLE Threading Models - COM STA MTA
C# Threading
Thread Synchronization (C# Programming Guide)
Overview of concurrency in .NET Framework 3.5
Multi-threading in .NET: Introduction and suggestions
Oracle - Multithreaded Programming Guide
Multithreading Tutorial
64-Bit Programming with Visual C++
How to: Create and Terminate Threads (C# Programming Guide)
- The Art of Multiprocessor Programming帶有Java中的例子(很多都可以用C++重寫,但有些因垃圾收集而變得棘手)。
- Patterns for Parallel Programming
- Concurrency and Coordination Runtime,Parallel Framework Extensions,Microsoft concurrency page - 不同途徑微軟爲.NET試圖趕上與Java不同的高級別並行的概念(JSR166,JSR 166y)
- Java Concurrency in Practice(不符合C的標準++/C#)
- Partial Lock-Free data structures
- C++ Concurrency in Action - 將覆蓋從現代C++多線程的觀點
- Herb Sutter about concurrency
- 的C++ 0x的建議,例如N2709,N2744等
我從亞馬遜買了這本書C# Threading Handbook (Paperback)的vb.net版本,其中有我需要的所有參考。
MSDN庫,而冗長,詳細介紹大多數你需要的信息,幷包含指向一堆教程 - article。
The Little Book of Semaphores是一本免費的在線入門教科書。示例代碼全部在Python中。
我推薦使用Joe Duffy關於Windows的併發性的新書。他涵蓋了Win32 API和.NET框架。優秀的閱讀。
- 1. 參考C++多線程函數調用
- 2. Java多線程原子參考分配
- 3. 參考「線」
- 4. 此參考轉義單線程程序
- 5. 折線圖的參考線
- 6. 線程「主」異常org.hibernate.AnnotationException mappedBy參考
- 7. 升壓線程 - 通過參考
- 8. 多參考
- 9. 關於多個線程上相同的Runnable參考
- 10. 多線程的內存考慮
- 11. 多參考在SQL
- 12. 參考路線和Web API
- 13. GD :: GRAPH的參考線
- 14. 在線C參考手冊
- 15. PowerDesigner參考線混合
- 16. 維護多對多參考
- 17. 多線程參數路過
- 18. Clojure參考文獻的線程越多,每個線程的重試次數就越多?
- 19. 什麼資源/參考可用於Python中的多線程編程?
- 20. 學習在C#中編寫多線程應用程序的參考?
- 21. mwe2參考流程
- 22. (Java多線程)如何在多線程中傳遞參數?
- 23. 如何以與參考線本身相同的角度註釋參考線?
- 24. 傳遞多個參數,以多線程
- 25. 多個表名參考
- 26. 參考多個工作表
- 27. 多維陣列參考
- 28. NHibernate的(參考)一對多
- 29. MySQL的多個ID參考
- 30. 防止jQuery多重參考