Re: [AD] NewAPI Poll

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wednesday 22 February 2006 4:45 am, Karthik Kumar wrote:
> On 2/22/06, Chris <chris.kcat@xxxxxxxxxx> wrote:
> > On Tuesday 21 February 2006 06:04, Elias Pschernig wrote:
> > > If it is a thread-local variable, it can't possibly be different. But
> > > yes, it's something to think about. If we can't use thread-local
> > > variables, but a real global, then changing the render target in other
> > > threads should probably be avoided.
> >
> > C99 defines the storage specifier __thread for exactly this.
> > -
> > __thread AL_CONTEXT *active_context;
>
> _thread looks good ... But, How many C99 compliant compilers are out there?
> Unless, you'd want Allegro to be compiled ONLY in gcc?

You really need to finish reading a message before you reply to it.

> --
> Karthik
> http://guilt.bafsoft.net

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/