Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

posix threads and performance with posix libraries  RSS feed

 
Joel Thompson
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'd like to know if you'd recommend the POSIX libraries for threads/concurrency..etc. and is it detailed in your book on how to use them?
I heard there are performance issues on WINDOWS. Can you comment on that from your own experience?
Any good posix impl's to avoid performance/concurrency issues?
Thanks!
Joel
 
Anthony Aj Williams
author
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joel Thompson wrote:Hi I'd like to know if you'd recommend the POSIX libraries for threads/concurrency..etc. and is it detailed in your book on how to use them?
I heard there are performance issues on WINDOWS. Can you comment on that from your own experience?
Any good posix impl's to avoid performance/concurrency issues?


The POSIX thread libraries are only covered in my book in the appendix comparing various threading libraries; my book is about the C++0x threading facilities.

I would recommend that in new C++ code you use the C++0x thread facilities wherever possible. The only implementation I am aware of for Windows is my just::thread implementation, and this has very low overhead compare to raw OS threads on both Linux and Windows, with comparable performance on both platforms.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!