bookwyrm icon indicating copy to clipboard operation
bookwyrm copied to clipboard

Support more compilers/platforms

Open tmplt opened this issue 7 years ago • 1 comments

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

tmplt avatar May 03 '18 11:05 tmplt

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.

tmplt avatar May 03 '18 11:05 tmplt