Changeset e5c0540 in rtems


Ignore:
Timestamp:
Jul 22, 2008, 5:18:09 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
1016b77
Parents:
a2cf229
Message:

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

pr1291/cpukit

  • posix_users/mutex.t: Add ETIMEDOUT.
  • posix_users/semaphores.t: Clarify text to say absolute timeout.
Location:
doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    ra2cf229 re5c0540  
     12008-07-22      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        pr1291/cpukit
     4        * posix_users/mutex.t: Add ETIMEDOUT.
     5        * posix_users/semaphores.t: Clarify text to say absolute timeout.
     6
    172008-07-15      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • doc/posix_users/mutex.t

    ra2cf229 re5c0540  
    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

    ra2cf229 re5c0540  
    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.