nanogui: multi-threaded app: problem and suggestion; patch
Subject:
Re: multi-threaded app: problem and suggestion; patch
From:
"Aaron J. Grier" ####@####.####
Date:
24 Aug 2005 00:08:03 +0100
Message-Id: <20050823230729.GD13075@mordor.unix.fryenet>
On Tue, Aug 23, 2005 at 02:28:37PM -0600, Greg Haerr wrote:
> perhaps an application could set a timer that would wakeup a blocked
> semaphore getnextevent every once in a while, so that the system
> doesn't deadlock?
remind me why the blocked thread needs to hold a lock?
--
Aaron J. Grier | Frye Electronics, Tigard, OR | ####@####.####