#include "global.h"#include "fdlib.h"#include "fd_control.h"#include "svalue.h"#include "interpret.h"#include "stralloc.h"#include "constants.h"#include "pike_macros.h"#include "backend.h"#include "pike_error.h"#include "callback.h"#include "mapping.h"#include "threads.h"#include "signal_handler.h"#include "module_support.h"#include "operators.h"#include "builtin_functions.h"#include "pike_security.h"#include "main.h"#include <signal.h>
|
|
Value: do { \ int PIKE_CONCAT(pre,_tmp2_)=PIKE_CONCAT(pre,_first); \ while(PIKE_CONCAT(pre,_last) != PIKE_CONCAT(pre,_tmp2_)) \ { \ int PIKE_CONCAT(pre,_tmp_); \ if( ++ PIKE_CONCAT(pre,_last) == SIGNAL_BUFFER) \ PIKE_CONCAT(pre,_last)=0; \ PIKE_CONCAT(pre,_tmp_)=PIKE_CONCAT(pre,_last) |
|
|
Value: do { \ int PIKE_CONCAT(pre,_tmp_)=PIKE_CONCAT(pre,_first) + 1; \ if(PIKE_CONCAT(pre,_tmp_) >= SIGNAL_BUFFER) PIKE_CONCAT(pre,_tmp_)=0 |
|
|
Value: static volatile TYPE PIKE_CONCAT(pre,buf) [SIGNAL_BUFFER]; \ static volatile int PIKE_CONCAT(pre,_first)=0,PIKE_CONCAT(pre,_last)=0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: do { int _l, _i; \ buf[0] = err; buf[1] = errno; buf[2] = id; \ for(_i = 0; _i < 3; _i += _l) { \ while (((_l = write(control_pipe[1], buf + _i, 3 - _i)) < 0) && \ (errno == EINTR)) \ ; \ if (_l < 0) exit (99 - errno); \ } \ while((_l = close(control_pipe[1])) < 0 && errno==EINTR); \ if (_l < 0) exit (99 + errno); \ exit(99); \ } while(0) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
1.3.9.1