SIGG 1224 Zend/zend_execute_API.c SIGG(running) = 0; SIGG 79 Zend/zend_signal.c if (SIGG(active)) { SIGG 80 Zend/zend_signal.c if (SIGG(depth) == 0) { /* try to handle signal */ SIGG 81 Zend/zend_signal.c if (SIGG(blocked) != -1) { /* inverse */ SIGG 82 Zend/zend_signal.c SIGG(blocked) = -1; /* signal is not blocked */ SIGG 84 Zend/zend_signal.c if (SIGG(running) == 0) { SIGG 85 Zend/zend_signal.c SIGG(running) = 1; SIGG 88 Zend/zend_signal.c queue = SIGG(phead); SIGG 89 Zend/zend_signal.c SIGG(phead) = NULL; SIGG 94 Zend/zend_signal.c queue->next = SIGG(pavail); SIGG 96 Zend/zend_signal.c SIGG(pavail) = queue; SIGG 99 Zend/zend_signal.c SIGG(running) = 0; SIGG 102 Zend/zend_signal.c SIGG(blocked) = 0; /* signal is blocked */ SIGG 104 Zend/zend_signal.c if ((queue = SIGG(pavail))) { /* if none available it's simply forgotton */ SIGG 105 Zend/zend_signal.c SIGG(pavail) = queue->next; SIGG 111 Zend/zend_signal.c if (SIGG(phead) && SIGG(ptail)) { SIGG 112 Zend/zend_signal.c SIGG(ptail)->next = queue; SIGG 114 Zend/zend_signal.c SIGG(phead) = queue; SIGG 116 Zend/zend_signal.c SIGG(ptail) = queue; SIGG 139 Zend/zend_signal.c if (SIGG(active)) { SIGG 141 Zend/zend_signal.c queue = SIGG(phead); SIGG 142 Zend/zend_signal.c SIGG(phead) = queue->next; SIGG 144 Zend/zend_signal.c queue->next = SIGG(pavail); SIGG 146 Zend/zend_signal.c SIGG(pavail) = queue; SIGG 162 Zend/zend_signal.c zend_signal_entry_t p_sig = SIGG(handlers)[signo-1]; SIGG 181 Zend/zend_signal.c SIGG(handlers)[signo-1].flags = 0; SIGG 182 Zend/zend_signal.c SIGG(handlers)[signo-1].handler = SIG_DFL; SIGG 201 Zend/zend_signal.c oldact->sa_flags = SIGG(handlers)[signo-1].flags; SIGG 202 Zend/zend_signal.c oldact->sa_handler = (void *) SIGG(handlers)[signo-1].handler; SIGG 206 Zend/zend_signal.c SIGG(handlers)[signo-1].flags = act->sa_flags; SIGG 208 Zend/zend_signal.c SIGG(handlers)[signo-1].handler = (void *) act->sa_sigaction; SIGG 210 Zend/zend_signal.c SIGG(handlers)[signo-1].handler = (void *) act->sa_handler; SIGG 258 Zend/zend_signal.c SIGG(handlers)[signo-1].flags = sa.sa_flags; SIGG 260 Zend/zend_signal.c SIGG(handlers)[signo-1].handler = (void *)sa.sa_sigaction; SIGG 262 Zend/zend_signal.c SIGG(handlers)[signo-1].handler = (void *)sa.sa_handler; SIGG 284 Zend/zend_signal.c memcpy(&SIGG(handlers), &global_orig_handlers, sizeof(global_orig_handlers)); SIGG 290 Zend/zend_signal.c SIGG(active) = 1; SIGG 291 Zend/zend_signal.c SIGG(depth) = 0; SIGG 301 Zend/zend_signal.c if (SIGG(check)) { SIGG 302 Zend/zend_signal.c if (SIGG(depth) != 0) { SIGG 303 Zend/zend_signal.c zend_error(E_CORE_WARNING, "zend_signal: shutdown with non-zero blocking depth (%d)", SIGG(depth)); SIGG 315 Zend/zend_signal.c SIGG(active) = 0; SIGG 316 Zend/zend_signal.c SIGG(running) = 0; SIGG 317 Zend/zend_signal.c SIGG(blocked) = -1; SIGG 318 Zend/zend_signal.c SIGG(depth) = 0; SIGG 72 Zend/zend_signal.h # define ZEND_SIGNAL_BLOCK_INTERRUPUTIONS() if (EXPECTED(zend_signal_globals_id)) { SIGG(depth)++; } SIGG 73 Zend/zend_signal.h # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id) && UNEXPECTED((--SIGG(depth))==SIGG(blocked))) { zend_signal_handler_unblock(TSRMLS_C); } SIGG 77 Zend/zend_signal.h # define ZEND_SIGNAL_BLOCK_INTERRUPUTIONS() SIGG(depth)++; SIGG 78 Zend/zend_signal.h # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (UNEXPECTED((--SIGG(depth))==SIGG(blocked))) { zend_signal_handler_unblock(TSRMLS_C); }