Re:Mastering Threads on MacOS X
by pagekalisedown on Sunday March 18, 2012 @02:43PM
(#3720456)
I recommend using boost.thread. It's cross-platform, and simpler than pthread.
[ Parent
| on HN ]
Re:Mastering Threads on MacOS X
by pagekalisedown on Sunday March 18, 2012 @06:57PM
(#3721310)
I should mention that the current boost.thread (v.1.49.0) doesn't provide a simple way to change the priority or scheduling of a thread.
You have to do it thru the underlying system-specific handle obtained by boost::thread::native_handle().