Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tweak to hide unused threadsafe callback in non-threadsafe builds | Dana Robinson | 2020-08-13 | 1 | -2/+2 |
| | |||||
* | Trim trailing whitespace | Quincey Koziol | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | Complete the comment on thread_main(), explaining why the barrier is used. | David Young | 2020-02-27 | 1 | -1/+9 |
| | |||||
* | The first implementation seemed to allow for the possibility that a thread | David Young | 2020-02-27 | 1 | -1/+8 |
| | | | | | | | | | could block at the barrier, wake and exit the barrier, re-acquire the barrier lock and increase `nentered` before the other blocked threads woke and checked `nentered % count == 0`. Then the other blocked threads would check `nentered % count == 0` and, finding it false, go back to sleep in the barrier. This new implementation waits for a looser condition to obtain so that threads don't go back to sleep in the barrier. | ||||
* | Test the right condition for the EBUSY return in pthread_barrier_destroy(). | David Young | 2020-02-27 | 1 | -1/+1 |
| | |||||
* | s/exit_failure/EXIT_FAILURE/g | David Young | 2020-02-27 | 1 | -2/+2 |
| | |||||
* | Implement pthread_barrier(3) for Darwin using a counter, condition variable, | David Young | 2020-02-27 | 1 | -0/+123 |
| | | | | and mutex. Untested. | ||||
* | Use HD prefix. | David Young | 2020-02-12 | 1 | -13/+13 |
| | |||||
* | Provide local copies of err(3)- and errx(3)-alike functions | David Young | 2020-02-07 | 1 | -7/+37 |
| | | | | for Visual Studio compatibility. | ||||
* | Oops, the test has to return success in the unimplemented case. | David Young | 2020-02-06 | 1 | -3/+2 |
| | |||||
* | src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions. | David Young | 2020-02-03 | 1 | -2/+2 |
| | | | | test/thread_id.c: move threads_failure() inside #ifdefs. | ||||
* | Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion. | David Young | 2020-02-03 | 1 | -5/+6 |
| | | | | | Fix a typo in the H5TS_thread_init() comment and reword some ID properties. | ||||
* | Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX Threads | David Young | 2020-02-03 | 1 | -0/+162 |
implementation ought to be portable to any system that has POSIX Threads. On Windows, I use the same API call as before. |