Waybar/include
Aleksei Bavshin 5da268077c
fix(util): protect std::condition_variable methods from pthread_cancel
The changes in GCC 11.x made `std::condition_variable` implementation
internals `noexcept`. `noexcept` is known to interact particularly bad
with `pthread_cancel`, i.e. `__cxxabiv1::__force_unwind` passing through
the `noexcept` call stack frame causes a `std::terminate` call and
immediate termination of the program

Digging through the GCC ML archives[1] lead me to the idea of patching
this with a few pthread_setcancelstate's. As bad as the solution is, it
seems to be the best we can do within C++17 limits and without major
rework.

[1]: https://gcc.gnu.org/legacy-ml/gcc/2017-08/msg00156.html
2021-06-12 12:56:44 -07:00
..
modules network: Handle ip route priority 2021-06-05 16:51:54 +01:00
util fix(util): protect std::condition_variable methods from pthread_cancel 2021-06-12 12:56:44 -07:00
ALabel.hpp Removing 'click_param' as it is no longer used. 2020-11-01 16:03:39 +00:00
AModule.hpp fix: cancel thread and fix window close 2020-05-27 09:10:38 +02:00
IModule.hpp refactor: AModule 2019-06-15 14:57:52 +02:00
bar.hpp feat(bar): add config flag to disable exclusive zone 2021-05-21 22:44:18 -07:00
client.hpp fix: schedule output destruction on idle callback 2021-02-22 18:35:09 -08:00
factory.hpp Add simpleclock as fallback when hhdate is not available 2020-10-29 19:40:28 +01:00