Re: Commit: back out martin's changes ;-(


Subject: Re: Commit: back out martin's changes ;-(
From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Wed Sep 05 2001 - 11:55:02 CDT


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



This archive was generated by hypermail 2b25 : Wed Sep 05 2001 - 11:55:18 CDT