On Mon, 20 Jan 2003, Keith Whitwell wrote:

> Michel Dänzer wrote:
> > [ please move this thread to the appropriate development list(s) ]

> > On Fre, 2003-01-17 at 16:03, Alexis Vartanian wrote:

> >>problem : GL application hangs at starting (quake3 and a threaded)
> >>when running a multithread application, any call to _XRead should
> >>be done after a XLockDisplay is called. If you don't do that,
> >>a call to _XRead may make a call to _XWaitForReadable that calls
> >>XUnlockDisplay then XLockDisplay then the application freezes in the
> >>next XLockDisplay
> >>this is not the case in :
> >>glxext.c:387 and glxcmd.c:1439
> >>the correction should be fairly easy, moving the XUnlockDisplay done
> >>earlier at the end of the function and anywhere in the path where
> >>the function exits
> >>I can provide a patch if wanted

> > Please do.

> Michel, do you have a patch for this.  I think this problem has come up in a
> separate instance with multithreaded applications -- it would be good to get
> it resolved.

Please review what I've just committed on this to XFree86's CVS.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to