Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 147 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 147 Bytes

spin_lock

spin lock for self using.

-O3: spin lock cost 106ms pthread_mutex cost 47ms

without -O3: spin lock cost 190ms pthread_mutex cost 46ms