On Tue, 2004-05-11 at 11:23, Dan Sugalski wrote: > >Since it's blocking, it won't eat up too many resources -- that's nice. > >It'd be nice to have the SDL event thread ignore events I don't care > >about though, instead of creating event PMCs I'll just throw away later. > > You can always Get Horribly Clever in the event handling thread and > look at what the SDL library's handed you. If it's uninteresting you > can just throw it away rather than creating an event to be discarded.
What's interesting in one context is quite dull in another. This means shuttling data between threads, which is always the point at which things start to go wrong*. At least for me. -- c * Since we haven't had a good flamewar in at least twenty minutes, "Threads are good as long as you keep them far away from each other!"