Commit Graph

168 Commits

Author SHA1 Message Date
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
Ulrich Drepper
82372ea939 Pass sigcontext through wrapper to the user function. 1999-08-20 19:30:19 +00:00
Ulrich Drepper
6c7eaa9206 Update. 1999-08-20 19:30:08 +00:00
Ulrich Drepper
99731fbaae Update. 1999-08-20 19:01:57 +00:00
Ulrich Drepper
d2e1ff2889 (__pthread_kill_other_threads_np): Reset signal handlers for the
signals we used in the thread implementation here.
1999-08-20 19:01:29 +00:00
Ulrich Drepper
3756823b75 (__pthread_reset_main_thread): Undo last change. 1999-08-20 18:58:56 +00:00
Ulrich Drepper
28f2b23e68 Update. 1999-08-20 00:41:16 +00:00
Ulrich Drepper
1f6935a45f (__pthread_reset_main_thread): Reset signal handlers for the signals we used
in the thread implementation.
1999-08-20 00:32:37 +00:00
Ulrich Drepper
8de1cf5ef0 Update. 1999-08-20 00:17:18 +00:00
Ulrich Drepper
ca0f823519 Export __pthread_kill_other_threads_np from libpthread for GLIBC_2.1.2. 1999-08-20 00:16:44 +00:00
Ulrich Drepper
ba2ee02dbf Update. 1999-08-01 21:56:31 +00:00
Ulrich Drepper
9b0a6cee0c [ld.so] (GLIBC_2.0): Export __libc_internal_tsd_get and
__libc_internal_tsd_set.
1999-08-01 21:51:07 +00:00
Ulrich Drepper
b5aef3124f Update. 1999-07-29 06:43:52 +00:00
Ulrich Drepper
f0a46e3173 Remove inclusion of <linux/tasks.h> since it's not needed anymore. 1999-07-29 06:43:07 +00:00
Ulrich Drepper
bc50216158 Update. 1999-07-16 23:19:03 +00:00
Ulrich Drepper
4d31cea226 Align _pthread_descr_struct to 32 bytes. 1999-07-16 23:18:26 +00:00
Ulrich Drepper
d97e5d3cd0 Update. 1999-07-10 09:58:57 +00:00
Ulrich Drepper
667217ce8e (pthread_handle_create): Free mmap region after stack if clone failed. 1999-07-10 09:57:24 +00:00
Ulrich Drepper
059f928f81 Correct last patch. 1999-07-09 22:15:02 +00:00
Ulrich Drepper
5175645757 Update. 1999-07-09 21:02:49 +00:00
Ulrich Drepper
af0bec70ce Add sem_destroy, sem_getvalue, sem_init, sem_post, sem_trywait,
and sem_wait to GLIBC_2.1.
1999-07-09 21:02:24 +00:00
Ulrich Drepper
e8e4384834 Compatibility versions of semaphore functions. 1999-07-09 21:01:18 +00:00
Ulrich Drepper
92cb24bf3c (libpthread-routines): Add oldsemaphore routine. 1999-07-09 21:00:54 +00:00
Ulrich Drepper
defb047600 Add default_symbol_versions for the changed functions.
(__new_sem_init): Rename from sem_init.
(__new_sem_post): Rename from sem_post.
(__new_sem_wait): Rename from sem_wait.
(__new_sem_trywait): Rename from sem_trywait.
(__new_sem_getvalue): Rename from sem_getvalue.
(__new_sem_destroy): Rename from sem_destroy.
1999-07-09 21:00:41 +00:00