Notifier question

Fernando Pereira pereira at warbucks.ai.sri.com
Sat Jun 10 02:47:34 AEST 1989


Mark Weiser (weiser.pa at xerox.com) suggests that "select" will more
reliably wake up window updating than "notify_dispatch". However, it
should be noted that libsunwindows.a defines its own version of "select"
in one of the notifier modules, so the call to "select" is doing more than
just calling the kernel "select".  In our own code, we have used
"notify_dispatch" extensively to wake up our windows outside
window_main_loop without problems, *except* for occasional delays of a few
seconds reacting events (mouse or keyboard). I may try to use the "select"
trick instead to see whether there is any difference in behavior. 

Fernando Pereira
AI Center, SRI International
pereira at ai.sri.com



More information about the Comp.sys.sun mailing list