This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

posix threads and performance with posix libraries

 
Joel Thompson
Greenhorn
Posts: 16
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic