Age | Commit message (Collapse) | Author |
|
Let's not be concerned about global namespace pollution. These
identifiers aren't exposed in the api/ directory.
|
|
|
|
use `cc_xx' rather than awkward synonyms.
|
|
Use more C++17 features where this helps any.
|
|
|
|
Some of the headers are clearly useless. Remove them.
Move what's inside util.hpp into separate headers.
Adjust usages.
Will remove util.hpp.
|
|
|
|
We can't depend on cvar getting notified only after "src" runs out of
scope.
Now, in case signal destroyed() runs first:
- mtx locked
- flag set to true
- empty cvar notified
Thus, doesn't hang.
In case we wait first:
- mtx locked
- flag is false
- cvar notification arrives
Of course semaphore code always runs serially since they're covered by a
mutex. We have all our bases covered.
Previously the code never hung simply because the "curthread" condition
was always true.
I removed the "curthread" code paths since they don't add anything. Also
rvalue references got used incorrectly.
|
|
|
|
|
|
|