diff src/redisplay.h @ 2518:cc24b630b1d6

[xemacs-hg @ 2005-01-26 10:33:40 by ben] Fix some race conditions in redisplay/signal redisplay.c, redisplay.h, signal.c: Move backtraces to internals manual. Fix some race conditions leading to crashes due to incomplete protection of critical sections. In signal.c, be more aggressive in catching incomplete critical section protection -- we cannot even check for QUIT, *EVER*, in a critical section.
author ben
date Wed, 26 Jan 2005 10:33:42 +0000
parents ecf1ebac70d8
children 368e26e0b1e3
line wrap: on
line diff
--- a/src/redisplay.h	Wed Jan 26 10:27:57 2005 +0000
+++ b/src/redisplay.h	Wed Jan 26 10:33:42 2005 +0000
@@ -1,7 +1,7 @@
 /* Redisplay data structures.
    Copyright (C) 1994, 1995 Board of Trustees, University of Illinois.
    Copyright (C) 1996 Chuck Thompson.
-   Copyright (C) 1995, 1996, 2002, 2003 Ben Wing.
+   Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing.
 
 This file is part of XEmacs.
 
@@ -840,5 +840,7 @@
 void exit_redisplay_critical_section (int);
 int enter_redisplay_critical_section_maybe (void);
 void exit_redisplay_critical_section_maybe (int depth);
+int enter_redisplay_critical_section_if (Boolint from_outside);
+void exit_redisplay_critical_section_if (Boolint from_outside, int depth);
 
 #endif /* INCLUDED_redisplay_h_ */