Ulrich Drepper
6b9f6f7e90
(SEM_FAILED): Use 0 not NULL.
2000-02-23 02:44:08 +00:00
Ulrich Drepper
ddb63e4535
Update.
2000-02-15 01:58:29 +00:00
Ulrich Drepper
59b5910f05
(pthread_cond_timedwait_relative_old): Tight loop with nanosleep does not
...
work either. Get absolute time inside the loop.
(pthread_cond_timedwait_relative_new): Likewise.
2000-02-15 01:31:08 +00:00
Ulrich Drepper
82b083a22a
Update.
2000-02-13 08:10:23 +00:00
Ulrich Drepper
0ef0d3838e
(pthread_cond_timedwait_relative_old): Undo last patch but keep the code
...
around. A bug in the kernel prevent us from using the code.
(pthread_cond_timedwait_relative_new): Likewise.
2000-02-13 08:09:42 +00:00
Ulrich Drepper
2d16a36701
Update.
2000-02-11 18:06:28 +00:00
Ulrich Drepper
66dcc06fe7
(pthread_cond_timedwait_relative_old): Do tight
...
loop around nanosleep calls instead of around most of the function
(pthread_cond_timedwait_relative_new): Likewise.
body. Got rid of backwards goto and one local.
2000-02-11 18:00:19 +00:00
Ulrich Drepper
f9e04c7b64
Update.
2000-01-31 08:21:50 +00:00
Ulrich Drepper
71a8b5e85a
(pthread_cond_timedwait_relative_old): Recompute time
...
before every nanosleep call to account for time spent in the rest
of the function.
(pthread_cond_timedwait_relative_new): Likewise.
2000-01-31 08:12:45 +00:00
Ulrich Drepper
0c5f810f53
Update.
2000-01-29 12:01:02 +00:00
Ulrich Drepper
450db0463b
(pthread_cond_timedwait_relative_old): Get remaining time from nanosleep call
...
so that in case we restart we only wait for the remaining time.
(pthread_cond_timedwait_relative_new): Likewise.
2000-01-29 11:50:18 +00:00
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