Another patch: Stop random GPFs on exit

Earle F. Philhower III earle@ziplabel.com
Sat Aug 2 21:34:00 GMT 2003


Howdy Harold, it looks like you're really busy with the 4.3 updates,
but here's another small patch for XWin that gets rid of the GPFs
that sometimes happen when exiting the server w/-clipboard or -mwm.

Basically, the X server was closing connections to the threads who
were then attempting to re-open them and restart their main loops.
This is fine for a server reset, but for a server kill you don't want
to re-open the connections because the info you've got (things like
ScreenPtrs etc.) aren't valid anymore.

This patch just adds a notify call to the two threads which sets
a flag so that when they do a longjmp() back to their main loops on
an IO error they pthread_exit() and not attempt to re-access their
passed in parameters/etc.


-Earle F. Philhower, III
  earle@ziplabel.com
  cdrlabel - ZipLabel - FlpLabel
  http://www.cdrlabel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nogpfexit.diffs.bz2
Type: application/octet-stream
Size: 1163 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20030802/49121592/attachment.obj>


More information about the Cygwin-xfree mailing list