Ulrich Drepper
c2a589b9ec
Update.
2000-01-19 00:46:41 +00:00
Ulrich Drepper
9898fc9149
(pthread_allocate_stack): Compute guard page address correctly.
2000-01-19 00:13:49 +00:00
Ulrich Drepper
e81421899e
Update.
2000-01-12 12:01:38 +00:00
Ulrich Drepper
6051426cd0
(struct _pthread_rwlock_t): Define this name as well.
2000-01-12 11:58:41 +00:00
Ulrich Drepper
f9ee7d5f8e
(PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP): New definition.
2000-01-12 11:58:29 +00:00
Ulrich Drepper
066e075998
Implement requirements about when readers should get locks assigned.
2000-01-12 11:58:14 +00:00
Ulrich Drepper
68606f4ed5
(queue_is_empty): New function.
2000-01-12 11:57:59 +00:00
Ulrich Drepper
0f226bf382
(pthread_free): Free read/write lock lists.
2000-01-12 11:57:45 +00:00
Ulrich Drepper
a97d2d557d
(__pthread_initial_thread, pthread_manager_thread):
...
Add initializers for new fields.
2000-01-12 11:57:33 +00:00
Ulrich Drepper
cecbddd661
(pthread_readlock_info): New structure.
...
(_pthread_descr_struct): Add p_readlock_list, p_readlock_free, and
p_untracked_readlock_count.
2000-01-12 11:57:16 +00:00
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