![]() | |||||||||||
Messages in this thread |
Fix your code:
> static void handler(int s) {
> printf("caught signal %d\n", s);
> longjmp(env, 1);
> }
Use siglonjmp() and sigsetjmp(). You are not allowed to use longjmp()
to jump from a signal handler.
[How many times have I explained this here now?]
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| ||||||||||
| Last update: 2005-03-22 14:03 [from the cache] ©2003-2008 | |||||||||||