CFT: patch for process shared pthread objects

David Xu davidxu at freebsd.org
Wed Dec 1 02:34:10 UTC 2010


David Xu wrote:
> Hi,
> 
> I finally have worked out first patch to make our pthread library
> support process shared pthread objects:
> 
> http://people.freebsd.org/~davidxu/pshared/patch1.diff
>

Patch is updated:
http://people.freebsd.org/~davidxu/pshared/patch2.diff

Changes:
1) Macro _POSIX_THREAD_PROCESS_SHARED in unistd.h is changed,
    now its value is 200112L.
2) Version of libgcc is bumped.
3) Thread cancellation is fixed in pthread_cond_wait(), this
    should make csup run again.





More information about the freebsd-current mailing list