summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2002-08-13 00:36:26 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-08-13 00:36:26 -0700
commitaeb44e19d8021c69ff39657c8c6f6a89b66ba8b2 (patch)
treeb06b033ced61d803e90520c649ffd63d17163966 /include/linux
parent61afdfc9984f7686962b3be31d95c865e926a296 (diff)
[PATCH] clone-detached-2.5.31-B0
the attached patch implements the per-CPU thread-structure cache to do detached exit, if the parent does not want to be notified of child exit via a signal.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index d44342a05d5b..63a6b938b145 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -47,6 +47,7 @@ struct exec_domain;
#define CLONE_SYSVSEM 0x00040000 /* share system V SEM_UNDO semantics */
#define CLONE_SETTLS 0x00080000 /* create a new TLS for the child */
#define CLONE_SETTID 0x00100000 /* write the TID back to userspace */
+#define CLONE_DETACHED 0x00200000 /* parent wants no child-exit signal */
#define CLONE_SIGNAL (CLONE_SIGHAND | CLONE_THREAD)