[Mono-winforms-list] Patches for Solaris
Dick Porter
dporter at codicesoftware.com
Thu Feb 24 10:31:29 EST 2011
Hi all
Attached are a couple of patches to get MWF working on Solaris 10. The
first works around the problem of missing methods in the native X
libraries: Xutf8ResetIC() and Xutf8LookupString().
The second patch would also assist any other slow systems that have
small network buffers. The wake/wake_receive socket pair can deadlock
if too many wake packets are sent while the XEvent loop in
UpdateMessageQueue() is processing a large number of events, causing the
wake_receive poll to be delayed. On Solaris, if more than 10 wake
packets are buffered it will deadlock. The patch just makes the wake
socket non-blocking, on the grounds that it doesn't really matter how
many prods the loop gets so long as it wakes up once.
OK to commit these?
- Dick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwf-solaris-no-utf8.diff
Type: text/x-patch
Size: 2356 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20110224/80004a46/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwf-wakeup.diff
Type: text/x-patch
Size: 1080 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20110224/80004a46/attachment-0003.bin
More information about the Mono-winforms-list
mailing list