Home | History | Annotate | Download | only in lib

Lines Matching defs:this

4    This program is free software; you can redistribute it and/or modify
9 This program is distributed in the hope that it will be useful,
21 * signal.c -- This file contains code that manipulates chains of signal
66 * Define array of lists of signal handlers. Note that this depends on
199 struct SIG_hlist *this;
202 /* This crit section stuff is a CVSism - we know that our interrupt
207 this = SIG_handlers[sig];
208 while (this != (struct SIG_hlist *) NULL)
210 (*this->handler)(sig);
211 this = this->next;
222 * handlers are invoked changed. If this is the first signal handler
230 struct SIG_hlist *this;
246 /* Block this signal while we look at handler chain */
257 /* See if this handler was already registered */
258 this = SIG_handlers[sig];
259 while (this != (struct SIG_hlist *) NULL)
261 if (this->handler == fn) break;
262 this = this->next;
266 if (this == (struct SIG_hlist *) NULL)
270 * If this is the first handler registered for this signal,
294 if ((val == 0) && (this == (struct SIG_hlist *) NULL))
296 this = (struct SIG_hlist *)
298 if (this == NULL)
304 this->handler = fn;
305 this->next = SIG_handlers[sig];
306 SIG_handlers[sig] = this;
333 struct SIG_hlist *this;
349 /* Block this signal while we look at handler chain */
361 this = SIG_handlers[sig];
362 while ((this != (struct SIG_hlist *) NULL) && (this->handler != fn))
364 last = this;
365 this = this->next;
369 if (this != (struct SIG_hlist *) NULL)
373 SIG_handlers[sig] = this->next;
377 last->next = this->next;
379 free((char *) this);