Home
last modified time | relevance | path

Searched hist:"3 ca1072d44f03cde375532c43ac778a48536a1a2" (Results 1 – 3 of 3) sorted by relevance

/haiku/src/system/libroot/posix/pthread/
H A Dpthread_once.cpp3ca1072d44f03cde375532c43ac778a48536a1a2 Tue May 13 01:50:54 UTC 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Reimplemented pthread_once. The old one was neither thread-safe nor
particularly efficient.
* pthread_mutex implementation:
- Removed the pthread_mutex_t indirection (the type was a pointer to
the actual structure which was allocated on the heap), as it made
sharing the mutex between processes impossible.
- Removed the distinction between process shared and non-shared
mutexes. Benaphores work just as well in shared memory, so we always
use them.
* Fixed some static initializer macros. PTHREAD_COND_INITIALIZER is
still broken, since it doesn't work in C code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25481 a95241bf-73f2-0310-859d-f6bbb57e9c96
H A DJamfile3ca1072d44f03cde375532c43ac778a48536a1a2 Tue May 13 01:50:54 UTC 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Reimplemented pthread_once. The old one was neither thread-safe nor
particularly efficient.
* pthread_mutex implementation:
- Removed the pthread_mutex_t indirection (the type was a pointer to
the actual structure which was allocated on the heap), as it made
sharing the mutex between processes impossible.
- Removed the distinction between process shared and non-shared
mutexes. Benaphores work just as well in shared memory, so we always
use them.
* Fixed some static initializer macros. PTHREAD_COND_INITIALIZER is
still broken, since it doesn't work in C code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25481 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/headers/posix/
H A Dpthread.h3ca1072d44f03cde375532c43ac778a48536a1a2 Tue May 13 01:50:54 UTC 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Reimplemented pthread_once. The old one was neither thread-safe nor
particularly efficient.
* pthread_mutex implementation:
- Removed the pthread_mutex_t indirection (the type was a pointer to
the actual structure which was allocated on the heap), as it made
sharing the mutex between processes impossible.
- Removed the distinction between process shared and non-shared
mutexes. Benaphores work just as well in shared memory, so we always
use them.
* Fixed some static initializer macros. PTHREAD_COND_INITIALIZER is
still broken, since it doesn't work in C code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25481 a95241bf-73f2-0310-859d-f6bbb57e9c96