#
b916156a |
|
13-Jul-2014 |
Julian Harnath <julian.harnath@rwth-aachen.de> |
Move libroot synchronization functions to private namespace * Prefix lock functions with __ to mark them as private. Add forwarding macros to keep existing code working. * Avoids symbol name clashes with kernel lock APIs, occuring when using kernellandemu-lib in userlandfs. Thanks to Ingo for the suggestion.
|
#
f7127458 |
|
15-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Private libroot locking primitives: - Reimplemented mutex to use the _kern_mutex*() syscalls. - The initializer functions cannot fail anymore -- changed their return type to void. - Changed the initializer function semantics to not copy the name by default anymore (as in the kernel). Also added *_etc() versions of them that take an additional flags. - Added static initializer macros. - Made the mutex (and thus recursive_lock) lock functions non-interruptable. - Got rid of the "lazy" version. They are no longer needed, since the initialization of the standard types can be done statically and cannot fail. * Adjusted libroot, runtime loader, and other code using the private libroot locking primitives to the new semantics. * pthreads mutexes and condition variables: - Reimplemented using the _kern_mutex*() syscalls. - Consistently use POSIX error codes. - Fixed some not quite POSIX compliant behavior. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
258b34c5 |
|
30-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed wrong parameter of lazy_mutex_destroy(). * Split locks.cpp into mutex.cpp, recursive_lock.cpp, and rw_lock.cpp (new subdirectory locks/). * runtime_loader no longer includes the rw_lock, allowing removal of the TLS dependency again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34364 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b916156a835cd4f1c16990c33d69190014df77b7 |
|
13-Jul-2014 |
Julian Harnath <julian.harnath@rwth-aachen.de> |
Move libroot synchronization functions to private namespace * Prefix lock functions with __ to mark them as private. Add forwarding macros to keep existing code working. * Avoids symbol name clashes with kernel lock APIs, occuring when using kernellandemu-lib in userlandfs. Thanks to Ingo for the suggestion.
|
#
f71274580bc2625bf438140839fe38193ece28e6 |
|
15-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Private libroot locking primitives: - Reimplemented mutex to use the _kern_mutex*() syscalls. - The initializer functions cannot fail anymore -- changed their return type to void. - Changed the initializer function semantics to not copy the name by default anymore (as in the kernel). Also added *_etc() versions of them that take an additional flags. - Added static initializer macros. - Made the mutex (and thus recursive_lock) lock functions non-interruptable. - Got rid of the "lazy" version. They are no longer needed, since the initialization of the standard types can be done statically and cannot fail. * Adjusted libroot, runtime loader, and other code using the private libroot locking primitives to the new semantics. * pthreads mutexes and condition variables: - Reimplemented using the _kern_mutex*() syscalls. - Consistently use POSIX error codes. - Fixed some not quite POSIX compliant behavior. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
258b34c594867f4447c4e3b5ce9240075f48b7f4 |
|
30-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed wrong parameter of lazy_mutex_destroy(). * Split locks.cpp into mutex.cpp, recursive_lock.cpp, and rw_lock.cpp (new subdirectory locks/). * runtime_loader no longer includes the rw_lock, allowing removal of the TLS dependency again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34364 a95241bf-73f2-0310-859d-f6bbb57e9c96
|