Changeset 9b4f75e in rtems


Ignore:
Timestamp:
Jul 24, 2008, 8:44:47 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
4d6e2f0
Parents:
1750f5a6
Message:

2008-07-24 Joel Sherrill <joel.sherrill@…>

PR 1291/cpukit

  • posix_users/mutex.t, posix_users/semaphores.t: Update tests to reflect changes required by POSIX blocking calls sometimes taking relative not absolute time.
Location:
doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    r1750f5a6 r9b4f75e  
     12008-07-24      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1291/cpukit
     4        * posix_users/mutex.t, posix_users/semaphores.t: Update tests to
     5        reflect changes required by POSIX blocking calls sometimes taking
     6        relative not absolute time.
     7
    182008-07-15      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • doc/posix_users/mutex.t

    r1750f5a6 r9b4f75e  
    631631The current thread already owns the mutex.
    632632
     633@item ETIMEDOUT
     634The calling thread was unable to obtain the mutex within the specified
     635timeout period.
     636
    633637@end table
    634638
  • doc/posix_users/semaphores.t

    r1750f5a6 r9b4f75e  
    464464int sem_timedwait(
    465465  sem_t                 *sem,
    466   const struct timespec *timeout
     466  const struct timespec *abstime
    467467);
    468468@end example
     
    485485
    486486@subheading DESCRIPTION:
    487 This function attemtps to lock a semaphore specified by @code{sem}, and will
    488 wait for the semaphore for an interval specified by @code{timeout}. If the
    489 semaphore is available, then the semaphore is locked (i.e., the semaphore
    490 value is decremented) and the function returns a value of 0. The semaphore
    491 remains locked until released by a @code{sem_post()} call. If the semaphore
    492 is unavailable, then the function will wait for the semaphore to become
    493 available for the amount of time specified by @code{timeout}.
     487
     488This function attemtps to lock a semaphore specified by @code{sem},
     489and will wait for the semaphore until the absolute time specified by
     490@code{abstime}. If the semaphore is available, then the semaphore is
     491locked (i.e., the semaphore value is decremented) and the function
     492returns a value of 0. The semaphore remains locked until released by
     493a @code{sem_post()} call. If the semaphore is unavailable, then the
     494function will wait for the semaphore to become available for the amount
     495of time specified by @code{timeout}.
    494496
    495497If the semaphore does not become available within the interval specified by
Note: See TracChangeset for help on using the changeset viewer.