Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Welcome Guest | Log In | Register | Benefits
Channels ▼
RSS

Parallel

Concurrent Programming with Chain Locking



Related Reading


More Insights




Deirdre Blake

The typo in Listing One has been corrected.

the_gigi

That's a typo. Thanks. I'll see that it's fixed. Each lock should be released as soon as the next lock has been acquired to minimize contention.

Lajnold

I notice that you don not release the lock for states[0] after acquiring the one for states[1]. Is that intentional?