bug-gnu-chess
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read without mutex -- whoops


From: chess
Subject: Read without mutex -- whoops
Date: Mon, 30 Jun 2003 20:34:29 -0500

Hello Simon.

I noticed the whoops comment in wait_for_input()

That is an example of the double-checked locking optimization pattern.

There's a related article at www.cs.wustl.edu/~schmidt/PDF/DC-Locking.pdf

Doug Schmidt heads the open-source ACE project, of which I am also a contributor.

http://www.cs.wustl.edu/~schmidt/ACE.html

Cheers,
*Mike

reply via email to

[Prev in Thread] Current Thread [Next in Thread]