Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-25 | compat: fix more std::forward misuse | Stanislaw Halik | |
2018-01-18 | compat: split/cleanup util.hpp | Stanislaw Halik | |
Some of the headers are clearly useless. Remove them. Move what's inside util.hpp into separate headers. Adjust usages. Will remove util.hpp. | |||
2018-01-16 | add missing copyright statement | Stanislaw Halik | |
2016-12-30 | compat: prevent deadlock with race | Stanislaw Halik | |
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. | |||
2016-12-03 | compat: add asserts | Stanislaw Halik | |
2016-11-29 | compat/run-in-thread: fix on msvc 2017 | Stanislaw Halik | |
2016-10-26 | compat/util: split out run-in-thread{,-async} | Stanislaw Halik | |