image/svg+xml queued running finished stopped stopping threadpoolworkerthreadtakestask workerproducesa bufferof output nothingmoreto do buffersent onand moreto do problemssending sync free task sync worker thread context lws service thread context wait untilthe lwsservicethreadknows thetask is done newwsi onmount protocol_HTTPcallback enqueue threadpool task protocolWRITEABLE cancel service protocolWRITEABLE cancel service lws_threadpool_task_sync lws_threadpool_task_status_wsi move to"done queue"idlingworker thread wsi hasunexpect-edly gone write thebuffer onthe wsi acknowledgethe task hasended Threadpool synchronization with the lws service thread(syncs to the correct service thread for the wsi)