in violation of CP.110: Do not write your own double-checked locking for initialization arise when a non-thread-safe
This is an example of non-thread-safe code. Are you curious if you have any non-thread-safe classes in your own web application? shared across multiple http requests and you don’t have any synchronisation, then that’s probably a non-thread-safe
// Declare a non-thread-safe heap just for this thread CWin32HeapstringHeap( HEAP_NO_SERIALIZE, 0, 0
// Declare a non-thread-safe heap just for this thread CWin32HeapstringHeap( HEAP_NO_SERIALIZE, 0, 0
The default implementation is safe for concurrent // access, but a non-thread-safe implementation is
Therefore, even when executed in parallel * with non-thread-safe data structures (such as {@code