[SDL] Why not use select?

Atrix Wolfe atrix2 at cox.net
Sun Mar 16 08:29:01 PST 2003


SDL 2.0's release date is unknown as sam just announced yesterday, gotta
remember he has a job and that his work on SDL is voluntary, and besides
that i bet he has a life too (wow! how dare he!!), so try not to be too hard
on him <g>

----- Original Message -----
From: "Raimar Falke" <rf13 at inf.tu-dresden.de>
To: <sdl at libsdl.org>
Sent: Sunday, March 16, 2003 6:34 AM
Subject: Re: [SDL] Why not use select?


> On Sat, Mar 15, 2003 at 07:33:02PM -0800, Sam Lantinga wrote:
> > > That may be true but I think the wrong abstraction was choosen
> > > here. If select or equivalent function is available and the windowing
> > > system can be used together with it select or equivalent function
> > > should be used. This will cover at least X11 and win32. In the other
> > > cases you can fall back to polling.
> >
> > We're considering something like that for SDL 2.0,
>
> So SDL 1.2 won't be changed?! When will SDL 2.0 be published?
>
> > but we have to consider input coming from many different sources,
> > including user messages posted directly from the application.
>
> Yes you have to add a "loopback" socket/pipe which is used to notify
> the select about new "internal" events. Not hard to code and
> transparent for the user code.
>
> Raimar
>
> --
>  email: rf13 at inf.tu-dresden.de
>  "This is Linux Country. On a quiet night, you can hear Windows reboot."
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl





More information about the SDL mailing list