Commit Graph

191 Commits

Author SHA1 Message Date
Andreas Jaeger
6154bf4170 2000-01-06 Andreas Jaeger <aj@suse.de>
* pthread.c: Correct last patch: Remove extra initializers.
2000-01-06 09:37:15 +00:00
Ulrich Drepper
38c33a344c Update. 2000-01-05 17:52:00 +00:00
Ulrich Drepper
33c01bff29 (__pthread_initial_thread, pthread_manager_thread): Adjust
initializers for struct _pthread_descr_struct change.
2000-01-05 17:51:40 +00:00
Ulrich Drepper
a80c9ed4cd Update. 2000-01-05 17:22:52 +00:00
Ulrich Drepper
9e35df154c (struct _pthread_descr_struct): Move new elements to the end. 2000-01-05 17:22:33 +00:00
Ulrich Drepper
c7c525dc10 Update. 2000-01-05 03:04:46 +00:00
Ulrich Drepper
666980df66 Redesigned how cancellation unblocks a thread from internal
cancellation points (sem_wait, pthread_join,
pthread_cond_{wait,timedwait}).
Cancellation won't eat a signal in any of these functions
(*required* by POSIX and Single Unix Spec!).
2000-01-05 03:04:25 +00:00
Ulrich Drepper
d4967fbb90 Update. 1999-12-28 22:10:02 +00:00
Ulrich Drepper
17b3b537bc (__pthread_manager): Add one more cast to assignment of arg to prevent
warning on 64bit machines.
1999-12-28 22:09:19 +00:00
Ulrich Drepper
7881cf7a37 Update. 1999-12-28 22:06:52 +00:00
Ulrich Drepper
204f8589e7 Move stack_pointer definition to the beginning of the file. 1999-12-28 22:06:44 +00:00
Ulrich Drepper
1693b5c8be Update. 1999-12-21 23:50:29 +00:00
Ulrich Drepper
28fc1f68aa (pthread_handle_create): Set p_pid of new thread before calling the callback
function to report a new thread.
1999-12-21 23:50:08 +00:00
Ulrich Drepper
dea8f5e1a0 Update. 1999-12-21 08:18:51 +00:00
Ulrich Drepper
a1d05462fc (pthread_initialize): Move getrlimit call after setting of errno. 1999-12-21 07:31:36 +00:00
Ulrich Drepper
123f2f2aa4 Update. 1999-12-02 08:28:56 +00:00
Ulrich Drepper
3774335c82 Move stack_pointer definition to the beginning. 1999-12-02 08:24:11 +00:00
Ulrich Drepper
9b6b9baa37 Update. 1999-11-23 22:05:34 +00:00
Ulrich Drepper
fe3d65781c (pthread_start_thread_event): Initialize p_pid already here. 1999-11-23 22:05:24 +00:00
Ulrich Drepper
ab0befb809 Update. 1999-11-22 20:50:52 +00:00
Ulrich Drepper
cd794ec90f (__pthread_manager_thread): Initialize p_lock.
(__pthread_initialize_manager): Respect event flags also for creation
of the manager thread.
1999-11-22 20:41:55 +00:00
Ulrich Drepper
746baf53fa (__pthread_manager_event): New function.
(pthread_start_thread_event): Fix computation of self.  Use INIT_THREAD_SELF.
1999-11-22 20:38:21 +00:00
Ulrich Drepper
5bf2b40524 Add prototype fpr __pthread_manager_event. 1999-11-22 20:35:37 +00:00
Ulrich Drepper
2c640e303e Update. 1999-11-14 08:12:02 +00:00
Ulrich Drepper
4acca10a2e Update from main line. 1999-11-10 07:03:06 +00:00
Ulrich Drepper
4c9a8f4e90 (__pthread_initialize_manager): Initialize __pthread_manager_thread.p_tid. 1999-11-10 05:03:58 +00:00
Ulrich Drepper
2f30beef5c Define __pthread_last_event.
(pthread_handle_create): Set __pthread_last_event.
(pthread_exited): Likewise.
(__pthread_threads_events): New variable.
(pthread_handle_create): Take new parameters with event information.
Signal TD_CREATE event if wanted.
(__pthread_manager): Adjust pthread_handle_create call.
(pthread_start_thread_event): New function.  Block until manager is
finished and then call pthread_start_thread.
(pthread_exited): Signal TD_REAP event if wanted.
1999-11-10 05:03:40 +00:00
Ulrich Drepper
7487e1347f (pthread_exit): Set __pthread_last_event.
(pthread_exit): Signal event if this is wanted.
1999-11-10 05:03:07 +00:00
Ulrich Drepper
8edac5b07e Declare __pthread_last_event.
Protect against multiple inclusion.
Include thread_dbP.h header.
(struct _pthread_descr_struct): Add new fields p_report_events and
p_eventbuf.
Declare event reporting functions.
1999-11-10 05:02:28 +00:00
Ulrich Drepper
ecea506939 (suspend_with_cancellation): Rewrite as a macro. 1999-11-10 05:01:52 +00:00
Ulrich Drepper
ed0d2f1a16 (pthread_cond_timedwait_relative): Don't mark as inline. 1999-11-10 05:00:59 +00:00
Ulrich Drepper
4b5a076bfc (libpthread-routines): Add events. 1999-11-10 05:00:37 +00:00
Ulrich Drepper
3d438c5df6 Update. 1999-10-10 20:49:53 +00:00
Ulrich Drepper
bdae594174 Add __new_sem_post to get prototype in manager.c; include semaphore.h
for needed types.
1999-10-10 20:39:30 +00:00
Ulrich Drepper
696077311d Update. 1999-10-08 21:52:48 +00:00
Ulrich Drepper
3842bcd362 (__pthread_manager) [REQ_POST]: Use __new_sem_post directly instead of
calling sem_post which should not be necessary but is faster and might
help in some case to work around problems.
1999-10-08 21:52:41 +00:00
Ulrich Drepper
c114f43027 Update. 1999-09-25 17:00:24 +00:00
Ulrich Drepper
7be1134e6f (sigaction): Correct last patch. Don't select pthread_sighandler_rt
based on the signal number but instead of the SA_SIGINFO flag.
1999-09-25 16:59:50 +00:00
Ulrich Drepper
77b33ea836 Update. 1999-09-25 07:07:39 +00:00
Ulrich Drepper
f8be8172b4 (pthread_cond_timedwait_relative): Never return with EINTR. 1999-09-25 07:07:14 +00:00
Ulrich Drepper
a3d618126a Update. 1999-09-23 18:09:47 +00:00
Ulrich Drepper
7939e51494 Move struct pthread_key_struct and destr_function to internals.h. 1999-09-23 18:05:55 +00:00
Ulrich Drepper
f3c15dbd97 Add struct pthread_key_struct and destr_function definitions. 1999-09-23 18:05:41 +00:00
Ulrich Drepper
0b895ebedc Update. 1999-09-12 19:29:12 +00:00
Ulrich Drepper
4f4507a22c Fix typos. 1999-09-05 17:36:30 +00:00
Ulrich Drepper
970ab68b6e Update. 1999-09-05 00:14:00 +00:00
Ulrich Drepper
df25ffc348 Export __fork, vfork, and __vfork in libpthread. 1999-09-05 00:12:57 +00:00
Ulrich Drepper
355e5a9698 (__fork): Renamed from fork and use __libc_fork. Add fork as weak alias.
(__vfork): New function, alias vfork.
1999-09-05 00:11:40 +00:00
Ulrich Drepper
8b8fd1a8d6 Update. 1999-08-23 17:52:24 +00:00
Ulrich Drepper
625b5535c8 (pthread_sighandler): Add SIGCONTEXT_EXTRA_ARGS to call to signal
handler.
1999-08-23 17:46:43 +00:00