Message262287
From the UCRT sources:
// Deadlock Avoidance: When a new thread is created in the process, we
// create a new PTD for the thread. The PTD initialization function is
// called under the loader lock. This initialization function will also
// acquire the locale lock in order to acquire a reference to the current
// global locale for the new thread.
//
// Some of the locale APIs are not available on all supported target OSes.
// We dynamically obtain these libraries via LoadLibrary/GetProcAddress.
// We must ensure that no call to LoadLibrary is made while we hold the
// locale lock, lest we deadlock due to lock order inversion between the
// loader lock and the locale lock. |
|
Date |
User |
Action |
Args |
2016-03-23 16:57:20 | jkloth | set | recipients:
+ jkloth, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower |
2016-03-23 16:57:20 | jkloth | set | messageid: <1458752240.63.0.794091101542.issue26624@psf.upfronthosting.co.za> |
2016-03-23 16:57:20 | jkloth | link | issue26624 messages |
2016-03-23 16:57:20 | jkloth | create | |
|