aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/barrier.h
Commit message (Collapse)AuthorAgeFilesLines
* Move thread utils (barrier and semaphore) to a subpackage of utilJack Lloyd2018-01-121-49/+0
| | | | | | They are not needed except by the filter code so being able to easily remove them from the build is nice; utils is always compiled in so that should be as small as possible.
* Address some MSVC warningsJack Lloyd2017-09-301-18/+22
|
* Apply final annotations to the library alsoJack Lloyd2017-09-221-1/+1
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Keep track of the number of synchronisations achievedJoel Low2016-11-061-2/+6
| | | | | This allows wait() to be called immediately after sync() returns, even if not all of the waiting threads have awoken.
* Implement barriers for Threaded ForkJoel Low2016-11-061-0/+41
This commit introduces a concept of a barrier, where all threads must synchronise before continuing. Threaded Fork uses this to ensure that all input is consumed by each sink exactly once. Fixes #695.