webscreenshot icon indicating copy to clipboard operation
webscreenshot copied to clipboard

This platform lacks of sem_open

Open fagci opened this issue 4 years ago • 2 comments

Using Termux on Android.

Solution:

try:
    from multiprocessing import Process, Queue
except ImportError:
    from threading import Thread as Process
    from queue import Queue

https://github.com/asciinema/asciinema/issues/271#issuecomment-372113307

fagci avatar Feb 04 '21 18:02 fagci

Hello, What do you mean ? I should not use multiprocessing.Pool ?

maaaaz avatar Feb 04 '21 21:02 maaaaz

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

fagci avatar Feb 05 '21 21:02 fagci