Reputation: 451
While pthread_create provides a memory order guarantee (The Open Group Base Specifications Issue 7: Memory Synchronization), the wording in Synchronization and Multiprocessor Issues: Memory Ordering and the lack of wording in CreateThread function suggests CreateThread does not.
Upvotes: 1
Views: 179