Ensures thread-safe initialization of PDM objects when created in parallel.
Avoids a potential race condition during the first instantiation of a PDM object in a multi-threaded environment. This is achieved by creating a dummy object in the main thread to trigger the necessary initialization before parallel creation begins.
Adds a unit test to verify the fix.