• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

posix threads and performance with posix libraries

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic