diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-08-30 15:57:47 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-08-30 15:57:47 +0000 |
commit | 1cadca3b669c71d2d7e7f98cfaa869ebd365d297 (patch) | |
tree | 2b593792c5ff1da5e88a5db9996ab4e21f398d12 /libthreads/cprocs.c | |
parent | 72b7f4212f16326c465dcace478b2d679ea4e507 (diff) |
Repair typos.
Diffstat (limited to 'libthreads/cprocs.c')
-rw-r--r-- | libthreads/cprocs.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libthreads/cprocs.c b/libthreads/cprocs.c index b690c64d..8b698cde 100644 --- a/libthreads/cprocs.c +++ b/libthreads/cprocs.c @@ -26,6 +26,12 @@ /* * HISTORY * $Log: cprocs.c,v $ + * Revision 1.5 1995/08/30 15:50:53 mib + * (cond_signal): If this condition has implications, see if one of them + * needs to be signalled when we have no waiters. + * (cond_broadcast): Signal the implications list too. + * (condition_implies, condition_unimplies): New functions. + * * Revision 1.4 1995/04/04 21:04:29 roland * (mutex_lock_solid, mutex_unlock_solid): Renamed to __*. * (_cthread_mutex_lock_routine, _cthread_mutex_unlock_routine): Variables @@ -788,8 +794,8 @@ condition_implies (condition_t implicator, condition_t implicatand) imp = malloc (sizeof (struct cond_imp)); imp->implicatand = implicatand; - imp->next = implicator->implies; - implicator->implies = imp; + imp->next = implicator->implications; + implicator->implications = imp; } /* Declare that the implication relationship from IMPLICATOR to @@ -799,7 +805,7 @@ condition_unimplies (condition_t implicator, condition_t implicatand) { struct cond_imp **impp; - for (impp = &implicator->implies; *impp; impp = (*impp)->next) + for (impp = &implicator->implications; *impp; impp = (*impp)->next) { if ((*impp)->implicatand == implicatand) { |