
9 Oct
2006
9 Oct
'06
1:01 p.m.
Anthony Williams wrote:
How about a try_lock(spin_count) call? or even a lock(spin_count)? Would that be superfluous?
This is an interesting suggestion that I've never seen before. Specifically, lock( 0 ) looks quite valuable if the default number of spins is left unspecified.