Re: [AD] Can somebody elaborate on lock_bitmap?

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


> I read the description of that function and I think it is meant to be used
> in dos interruption context, but it's a guess. Could somebody elaborate
> it's description with at least a possible example? 'very weird things' is
> slightly helpless :)

Pretty good description, isn't it ? I wrote it :-)

lock_bitmap() is the strict equivalent of LOCK_VARIABLE() for memory
bitmaps: the 'very weird thing' is drawing onto a memory bitmap inside an
interrupt handler.

I chose to be that elusive so as not to give bad ideas to programmers ;-)

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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