/haiku/src/tests/system/libroot/posix/ |
H A D | pthread_barrier_test.cpp | 0e0f49e7995fc37bc2708f02e02a8b95db8e7383 Tue Dec 27 18:54:32 UTC 2016 Dmytro Shynkevych <dm.shynk@gmail.com> libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.
Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
H A D | Jamfile | 0e0f49e7995fc37bc2708f02e02a8b95db8e7383 Tue Dec 27 18:54:32 UTC 2016 Dmytro Shynkevych <dm.shynk@gmail.com> libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.
Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_barrier.cpp | 0e0f49e7995fc37bc2708f02e02a8b95db8e7383 Tue Dec 27 18:54:32 UTC 2016 Dmytro Shynkevych <dm.shynk@gmail.com> libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.
Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
H A D | Jamfile | 0e0f49e7995fc37bc2708f02e02a8b95db8e7383 Tue Dec 27 18:54:32 UTC 2016 Dmytro Shynkevych <dm.shynk@gmail.com> libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.
Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
/haiku/headers/private/libroot/ |
H A D | pthread_private.h | 0e0f49e7995fc37bc2708f02e02a8b95db8e7383 Tue Dec 27 18:54:32 UTC 2016 Dmytro Shynkevych <dm.shynk@gmail.com> libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.
Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
/haiku/headers/posix/sys/ |
H A D | types.h | 0e0f49e7995fc37bc2708f02e02a8b95db8e7383 Tue Dec 27 18:54:32 UTC 2016 Dmytro Shynkevych <dm.shynk@gmail.com> libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.
Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
/haiku/headers/posix/ |
H A D | pthread.h | 0e0f49e7995fc37bc2708f02e02a8b95db8e7383 Tue Dec 27 18:54:32 UTC 2016 Dmytro Shynkevych <dm.shynk@gmail.com> libroot: Implemented pthread barriers
This is an implementation of pthread barriers pursuant to the relevant specification.
Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|