about summary refs log tree commit diff
path: root/linuxthreads/man/pthread_create.man
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-03 04:40:34 +0000
committerRoland McGrath <roland@gnu.org>2005-07-03 04:40:34 +0000
commit88e3fbcb5d6829f8980d6bb356b1c0cd7a38187b (patch)
tree41b73f55c91439f87d82e5d32b9d8e46e82ce3c1 /linuxthreads/man/pthread_create.man
parentd19b1b4f2ff49e085b55e8564b52ca17b028e335 (diff)
downloadglibc-88e3fbcb5d6829f8980d6bb356b1c0cd7a38187b.tar.gz
glibc-88e3fbcb5d6829f8980d6bb356b1c0cd7a38187b.tar.xz
glibc-88e3fbcb5d6829f8980d6bb356b1c0cd7a38187b.zip
linuxthreads, linuxthreads_db: Directories removed (preserved in ports repository).
Diffstat (limited to 'linuxthreads/man/pthread_create.man')
-rw-r--r--linuxthreads/man/pthread_create.man46
1 files changed, 0 insertions, 46 deletions
diff --git a/linuxthreads/man/pthread_create.man b/linuxthreads/man/pthread_create.man
deleted file mode 100644
index a94004767a..0000000000
--- a/linuxthreads/man/pthread_create.man
+++ /dev/null
@@ -1,46 +0,0 @@
-.TH PTHREAD_CREATE 3 LinuxThreads
-
-.SH NAME
-pthread_create \- create a new thread
-
-.SH SYNOPSIS
-#include <pthread.h>
-
-int pthread_create(pthread_t * thread, pthread_attr_t * attr, void * (*start_routine)(void *), void * arg);
-
-.SH DESCRIPTION
-!pthread_create! creates a new thread of control that executes
-concurrently with the calling thread. The new thread applies the
-function |start_routine| passing it |arg| as first argument. The new
-thread terminates either explicitly, by calling !pthread_exit!(3),
-or implicitly, by returning from the |start_routine| function. The
-latter case is equivalent to calling !pthread_exit!(3) with the result
-returned by |start_routine| as exit code.
-
-The |attr| argument specifies thread attributes to be applied to the
-new thread. See !pthread_attr_init!(3) for a complete list of thread
-attributes. The |attr| argument can also be !NULL!, in which case
-default attributes are used: the created thread is joinable (not
-detached) and has default (non real-time) scheduling policy.
-
-.SH "RETURN VALUE"
-On success, the identifier of the newly created thread is stored in
-the location pointed by the |thread| argument, and a 0 is returned. On
-error, a non-zero error code is returned.
-
-.SH ERRORS
-.TP
-!EAGAIN!
-not enough system resources to create a process for the new thread.
-.TP
-!EAGAIN!
-more than !PTHREAD_THREADS_MAX! threads are already active.
-
-.SH AUTHOR
-Xavier Leroy <Xavier.Leroy@inria.fr>
-
-.SH "SEE ALSO"
-!pthread_exit!(3),
-!pthread_join!(3),
-!pthread_detach!(3),
-!pthread_attr_init!(3).