bookwyrm
bookwyrm copied to clipboard
Support more compilers/platforms
With 049df29bf53c2cb4f19f2fdf6721bdae3e3796e8, abi::__forced_unwind is now caught to "safely" terminate the Python threads. This exception is an implementation detail only available in GCC.
As of this commit, bookwyrm is not portable and may only work on Linux.
Confirmed platforms and compilers:
- [ ] Linux
- [x] GCC
- [ ] Clang
- [ ] FreeBSD
- [ ] GCC
- [ ] Clang
- [ ] OpenBSD
- [ ] GCC
- [ ] Clang
This could be resolved by using message-oriented thread termination, but polling from the Python scripts is slow and makes plugin_handler destruction take quite some time.