Wednesday, March 25, 2009

Benchmark of synchronous objects on Windows

Threads\
milliseconds
Volatile
Read
Volatile
Write
Interlocked
Increment
Critical
Section
SRWLock
Shared
SRWLock
Exclusive
Mutex
188356666671060
287615326813414811082
4914536176824430723785

 

 

from Windows Via C/C++


I'll use SRW objects~~~

It works on Windows Vista and over.

No comments:

Post a Comment