[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On March 11, 2002 04:52 pm, you wrote:
> > > I don't know very well how X and threads interact, so I can't say if
> > > it's a synchronization problem between two threads that are racing
> > > for locking the X server or simply a problem that originates in XLOCK()
> > > itself.
>
> Neither :-) The problem has nothing to do with threads.
>
> > except my major problem is whenever Im just writing to the screen. If I
> > try anything but 'blit' (ie: line, clear, textout, etc...) I get that
> > 'BadAccess' error. Although the problem you pointed out does show it's
> > head now and then.
>
> The following patch fixes my own problem:
[snip patch]
This patch seems to have done it.
but I'll complain if I see more problems ;P
>
> If it's not sufficient, add this one:
>
[snip second patch]
I haven't tried this one.
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net