comparison 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
comparison
equal deleted inserted replaced
2517:9b0afdac688e 2518:cc24b630b1d6
1 /* Redisplay data structures. 1 /* Redisplay data structures.
2 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois. 2 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois.
3 Copyright (C) 1996 Chuck Thompson. 3 Copyright (C) 1996 Chuck Thompson.
4 Copyright (C) 1995, 1996, 2002, 2003 Ben Wing. 4 Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing.
5 5
6 This file is part of XEmacs. 6 This file is part of XEmacs.
7 7
8 XEmacs is free software; you can redistribute it and/or modify it 8 XEmacs is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the 9 under the terms of the GNU General Public License as published by the
838 int begin_hold_frame_size_changes (void); 838 int begin_hold_frame_size_changes (void);
839 int enter_redisplay_critical_section (void); 839 int enter_redisplay_critical_section (void);
840 void exit_redisplay_critical_section (int); 840 void exit_redisplay_critical_section (int);
841 int enter_redisplay_critical_section_maybe (void); 841 int enter_redisplay_critical_section_maybe (void);
842 void exit_redisplay_critical_section_maybe (int depth); 842 void exit_redisplay_critical_section_maybe (int depth);
843 int enter_redisplay_critical_section_if (Boolint from_outside);
844 void exit_redisplay_critical_section_if (Boolint from_outside, int depth);
843 845
844 #endif /* INCLUDED_redisplay_h_ */ 846 #endif /* INCLUDED_redisplay_h_ */