On Wed, 5 Sep 2001, David Mandelin wrote:

> SDL and wxWindows each have XP thread libs. In wxWindows, there are
> 1200-1500 LOC per platform for threads, mutexen, and condition
> variables.

Hmm, that's a lot of code.  I'm not familiar with their approach.

> I'm confused about the goal here. I don't see what's wrong with timers
> and idle handlers. As long as they send everything through the event
> queue, the program is effectively single-threaded, even if the system
> uses multiple threads to make it happen. There shouldn't be any race
> conditions.

Dom asserts that the UT_Timer class now interrupts what's currently in
progress.  It's not a timer that executes from the event queue.  So that
is effectively multithreaded.

pat



Reply via email to