< prev index next >
src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c
Print this page
*** 745,755 ****
* Wakes-up poll() in performPoll
*/
static void wakeUp() {
static char wakeUp_char = 'p';
if (!isMainThread() && awt_pipe_inited) {
! write ( AWT_WRITEPIPE, &wakeUp_char, 1 );
}
}
/* ========================== End poll section ================================= */
--- 745,755 ----
* Wakes-up poll() in performPoll
*/
static void wakeUp() {
static char wakeUp_char = 'p';
if (!isMainThread() && awt_pipe_inited) {
! int ret = write ( AWT_WRITEPIPE, &wakeUp_char, 1 );
}
}
/* ========================== End poll section ================================= */
< prev index next >