#
a8af2b6d |
|
20-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Some work on pthreads: * Made the pthread_cond_t internals public. This is necessary to support process shared condition variables. Fixed initializer macro. * Made the pthread_rwlockattr_t structure opaque. * pthread_t is no longer typedef'ed to int. It's the pointer to the internal _pthread_thread structure. * Removed __get_pthread(). pthread_self() can be used instead. * No longer tunnel the pthread exit value through Haiku's thread exit value. We do have a separate field in the _pthread_thread structure for it, now. * Handle detaching of threads correctly. * pthread_rwlockattr_{g,s}etpshared() use the PTHREAD_PROCESS_{SHARED,PRIVATE} constants, now. * Commented out yet unsupported structures (barriers, spinlocks). * Rebuilt APR optional package. The pthread changes weren't binary compatible. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef4a3227 |
|
17-Apr-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* If there is no handler, we must not try to remove it from the linked list. * This fixes bug #1644 again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24998 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a635399b |
|
31-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Rearranged pthread thread support a bit: there is now a pthread_thread structure that is attached (via TLS) to each pthread. * Implemented support for pthread_cleanup_{push|pop}(). * I haven't really been able to test these changes, yet, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24704 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8af2b6dda18b77d9bad0f0c32076ca066cf57f1 |
|
20-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Some work on pthreads: * Made the pthread_cond_t internals public. This is necessary to support process shared condition variables. Fixed initializer macro. * Made the pthread_rwlockattr_t structure opaque. * pthread_t is no longer typedef'ed to int. It's the pointer to the internal _pthread_thread structure. * Removed __get_pthread(). pthread_self() can be used instead. * No longer tunnel the pthread exit value through Haiku's thread exit value. We do have a separate field in the _pthread_thread structure for it, now. * Handle detaching of threads correctly. * pthread_rwlockattr_{g,s}etpshared() use the PTHREAD_PROCESS_{SHARED,PRIVATE} constants, now. * Commented out yet unsupported structures (barriers, spinlocks). * Rebuilt APR optional package. The pthread changes weren't binary compatible. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef4a3227facd57886c7a7bd7ae1e969047992f41 |
|
17-Apr-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* If there is no handler, we must not try to remove it from the linked list. * This fixes bug #1644 again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24998 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a635399b0744555fe9f3fc01d6f58ff29d3bc075 |
|
31-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Rearranged pthread thread support a bit: there is now a pthread_thread structure that is attached (via TLS) to each pthread. * Implemented support for pthread_cleanup_{push|pop}(). * I haven't really been able to test these changes, yet, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24704 a95241bf-73f2-0310-859d-f6bbb57e9c96
|