DummyThread objects are much lighter weight and don't allocate and then...
DummyThread objects are much lighter weight and don't allocate and then immediately delete a Semaphore. This matters for servers that handle each request in a new greenlet (e.g., gunicorn) because logging caused these objects to be created. Avoiding the Semaphore is especially important on PyPy.
Showing
Please register or sign in to comment