Shimshon Duvdevan wrote:
[...]
> So, if upgrading Solaris is not an option, I should patch boost.threads each
> time a new version is out? Isn't it easier to add a couple of #ifdefs? :)
I'd suggest that you should just wait for "a new version" that
would hopefully allow you to have something along the lines of:
.
.
.
#ifdef BROKEN_SOLARIS
thread::attr()
.set_scope( PTHREAD_SCOPE_SYSTEM )
. // see below
#endif
new_thread( routine /*, arg(s)...*/ )
.
.
.
;-)
regards,
alexander.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost