Re: [AD] option to allow SSE instructions

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


On 2009-03-17, AJ <aj@xxxxxxxxxx> wrote:
> Peter Wang wrote:
> > On 2009-03-16, AJ <aj@xxxxxxxxxx> wrote:
> >   
> >> Does this mean we can use  InterlockedXX()s also ?
> >> They'd make things like the threading easier to manage, and reduce that 
> >> hideous critical section locking (all for a read/write to bool ...  talk 
> >> about overhead!!!)
> >>     
> >
> > Which critical section are you thinking of?
> >   
> 
> 
> _al_thread_should_stop
> 
> in
> 
> /4.9/include/allegro5/platform/aintwthr.h

Ok, you can change that.  That would remove a fair few lines. 

Peter





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