This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Alan needs a DLL guru (was Re: [PATCH] Re: pthread).


On Sun, May 06, 2001 at 04:27:06PM +0100, Alan Hourihane wrote:
> I've got an OpenGL thread program which crashes in another function pointer
> place. I'll eventually test this and fix it's mutex too, but it'd be good
> to get a better solution than what I've currently got.
> 
In fact,

I've just found that xc/programs/ico has a multithreaded option.

It fires up no problems with -threads 1. So I know the function pointers 
are now working.

But, sadly when starting two threads there are problems. This is more likely
to be with the pthread support though. It's looking like the first thread
is grabbing events from the second. Possibly some race condition. Although it's 
complete speculation at the moment, just the way it looks on screen. It does
eventually crash due to the other thread grabbing one of the others event.

Rob - If you start 'ico -threads 2'  you'll have a good test case for when
I've cleaned up the mutex's.

Alan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]