Top "Python-multithreading" questions

python-multithreading refers to how to divide work into multiple streams of execution in Python.

sharing a :memory: database between different threads in python using sqlite3 package

I would like to create a :memory: database in python and access it from different threads. Essentially something like: class …

python sqlite python-multithreading
python logging performance comparison and options

I am researching high performance logging in Python and so far have been disappointed by the performance of the python …

python multithreading performance logging python-multithreading
To execute a function every x minutes: sched or threading.Timer?

I need to program the execution of a give method every x minutes. I found two ways to do it: …

python timer python-multithreading
numpy and Global Interpreter Lock

I am about to write some computationally-intensive Python code that'll almost certainly spend most of its time inside numpy's linear …

python multithreading numpy gil python-multithreading
Python3 threading with uWSGI

I wasted many time but couldn't find a solution. If i use threads in my app deployed with uwsgi, they …

python multithreading python-3.x uwsgi python-multithreading
Python Celery versus Threading Library for running async requests

I am running a python method that parses a lot of data. Since it is time intensive, I would like …

python celery django-celery python-multithreading
ThreadPoolExecutor, ProcessPoolExecutor and global variables

I am new to parallelization in general and concurrent.futures in particular. I want to benchmark my script and compare …

python python-3.x python-multiprocessing python-multithreading concurrent.futures
Get return value for multi-processing functions in python

I have two functions to run in parallel and each of them returns a value. I need to wait for …

python python-multithreading python-multiprocessing
Check if the Main Thread is still alive from another thread

How can I check if the Main Thread is alive from another ( non-daemon, child ) thread? The child thread is a …

python multithreading python-multithreading
Multiprocessing backed parallel loops cannot be nested below threads

What is the reason of such issue in joblib? 'Multiprocessing backed parallel loops cannot be nested below threads, setting n_…

scikit-learn python-multithreading joblib