sergiusens / snapcraft-preload

Use smart preloading in your snaps to avoid hard coded parts that would fail security.
12 stars 20 forks source link

Allow use of Python's Multiprocessing #41

Open forslund opened 4 years ago

forslund commented 4 years ago

Add explicit pthread flags and -Wl,--no-as-needed to allow using python's multiprocessing module.

without this an error is thrown:

terminate called after throwing an instance of 'std::system_error'
  what():  Enable multithreading to use std::thread: Operation not permitted