comparison src/device.c @ 100:4be1180a9e89 r20-1b2

Import from CVS: tag r20-1b2
author cvs
date Mon, 13 Aug 2007 09:15:11 +0200
parents 131b0175ea99
children cca96a509cfe
comparison
equal deleted inserted replaced
99:2d83cbd90d8d 100:4be1180a9e89
998 asynch_device_change_method) (); 998 asynch_device_change_method) ();
999 } 999 }
1000 /* reset the flag to 0 unless another notification occurred while 1000 /* reset the flag to 0 unless another notification occurred while
1001 we were processing this one. Block SIGWINCH during this 1001 we were processing this one. Block SIGWINCH during this
1002 check to prevent a possible race condition. */ 1002 check to prevent a possible race condition. */
1003 #ifndef WINDOWSNT
1003 EMACS_BLOCK_SIGNAL (SIGWINCH); 1004 EMACS_BLOCK_SIGNAL (SIGWINCH);
1005 #endif
1004 if (old_asynch_device_change_pending == asynch_device_change_pending) 1006 if (old_asynch_device_change_pending == asynch_device_change_pending)
1005 asynch_device_change_pending = 0; 1007 asynch_device_change_pending = 0;
1008 #ifndef WINDOWSNT
1006 EMACS_UNBLOCK_SIGNAL (SIGWINCH); 1009 EMACS_UNBLOCK_SIGNAL (SIGWINCH);
1010 #endif
1007 } 1011 }
1008 1012
1009 void 1013 void
1010 call_critical_lisp_code (struct device *d, Lisp_Object function, 1014 call_critical_lisp_code (struct device *d, Lisp_Object function,
1011 Lisp_Object object) 1015 Lisp_Object object)