diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-11-27 19:47:46 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2009-11-27 19:47:46 +0000 |
commit | 7fd2c499074a7f0b6adb702b617d57e09581d5f5 (patch) | |
tree | 9915d7ff61ab18a16b4016fceea22b8a18f45340 /lib | |
parent | 1a35791f7ddc3e9de92e3c8c0e0f009aef9276d8 (diff) |
Add a signal for librthread to use for interthread ASTs for cancelation
and suspension.
"get it in" deraadt@, tedu@, cheers by others
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/siglist.c | 5 | ||||
-rw-r--r-- | lib/libc/gen/signame.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/gen/siglist.c b/lib/libc/gen/siglist.c index 65c32c08b0d..c0c049cae66 100644 --- a/lib/libc/gen/siglist.c +++ b/lib/libc/gen/siglist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siglist.c,v 1.4 2005/08/08 08:05:34 espie Exp $ */ +/* $OpenBSD: siglist.c,v 1.5 2009/11/27 19:47:45 guenther Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -63,5 +63,6 @@ const char *const _sys_siglist[NSIG] = { "Window size changes", /* SIGWINCH */ "Information request", /* SIGINFO */ "User defined signal 1", /* SIGUSR1 */ - "User defined signal 2" /* SIGUSR2 */ + "User defined signal 2", /* SIGUSR2 */ + "Thread AST", /* SIGTHR */ }; diff --git a/lib/libc/gen/signame.c b/lib/libc/gen/signame.c index 51f80e3d4ed..39841917fa9 100644 --- a/lib/libc/gen/signame.c +++ b/lib/libc/gen/signame.c @@ -1,4 +1,4 @@ -/* $OpenBSD: signame.c,v 1.4 2005/08/08 08:05:34 espie Exp $ */ +/* $OpenBSD: signame.c,v 1.5 2009/11/27 19:47:45 guenther Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. @@ -63,5 +63,6 @@ const char *const sys_signame[NSIG] = { "WINCH", /* SIGWINCH */ "INFO", /* SIGINFO */ "USR1", /* SIGUSR1 */ - "USR2" /* SIGUSR2 */ + "USR2", /* SIGUSR2 */ + "THR", /* SIGTHR */ }; |