Changeset a39cf49 in rtems


Ignore:
Timestamp:
Jul 23, 2008, 10:32:19 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
2e2c640e
Parents:
75d16dd8
Message:

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

PR 1291/cpukit

  • posix_users/semaphores.t: Update to reflect absolute time.
Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    r75d16dd8 ra39cf49  
     12008-07-23      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1291/cpukit
     4        * posix_users/semaphores.t: Update to reflect absolute time.
     5
    162008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • doc/posix_users/semaphores.t

    r75d16dd8 ra39cf49  
    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.