unified-memory-framework icon indicating copy to clipboard operation
unified-memory-framework copied to clipboard

Race Condition Between Thread Destructor and Pool Destroy in Scalable Pool

Open lplewa opened this issue 1 year ago • 2 comments

A race condition occurs when the scalable pool is destroyed while another thread is performing Thread-Local Storage (TLS) destruction. This issue arises only if one thread is in its TLS destructor and another thread calls umfPoolDestroy. There is no problem when a thread is destructed after the pool has been destroyed.

lplewa avatar Nov 25 '24 15:11 lplewa