This platform lacks of sem_open
Opened this issue · 2 comments
fagci commented
Using Termux on Android.
Solution:
try:
from multiprocessing import Process, Queue
except ImportError:
from threading import Thread as Process
from queue import Queue
maaaaz commented
Hello,
What do you mean ? I should not use multiprocessing.Pool
?
fagci commented
I think so, maybe this can be solution:
https://stackoverflow.com/a/3386632
Can be implemented same way, I think, using try/except and
from multiprocessing.pool import ThreadPool as Pool