Changeset 0ebf5694 in rtems


Ignore:
Timestamp:
Nov 22, 1999, 4:07:02 PM (20 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f85409c
Parents:
24f6608
Message:

+ Cleaned up comments.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/semaphorecreatesupp.c

    r24f6608 r0ebf5694  
    2020 *
    2121 *  _POSIX_Semaphore_Create_support
     22 *
     23 *  This routine does the actual creation and initialization of
     24 *  a poxix semaphore.  It is a support routine for sem_init and
     25 *  sem_open.
    2226 */
    2327
     
    6973  the_sem_attr = &the_semaphore->Semaphore.Attributes;
    7074 
    71   /* XXX
    72    *
    73    *  Note should this be based on the current scheduling policy?
     75  /*
     76   *  POSIX does not appear to specify what the discipline for
     77   *  blocking tasks on this semaphore should be.  It could somehow
     78   *  be derived from the current scheduling policy.  One
     79   *  thing is certain, no matter what we decide, it won't be
     80   *  the same as  all other POSIX implementations. :)
    7481   */
    7582
     
    8794    the_sem_attr,
    8895    value,
    89     0      /* XXX - proxy_extract_callout is unused */
     96    NULL                 /* multiprocessing is not supported */
    9097  );
     98
     99  /*
     100   *  Make the semaphore available for use.
     101   */
    91102 
    92   /* XXX - need Names to be a string!!! */
    93103  _Objects_Open(
    94104    &_POSIX_Semaphore_Information,
     
    105115      the_semaphore->Object.id,
    106116      (char *) name,
    107       0                /* proxy id - Not used */
     117      0                           /* proxy id - Not used */
    108118    );
    109119#endif
  • cpukit/posix/src/semaphorecreatesupp.c

    r24f6608 r0ebf5694  
    2020 *
    2121 *  _POSIX_Semaphore_Create_support
     22 *
     23 *  This routine does the actual creation and initialization of
     24 *  a poxix semaphore.  It is a support routine for sem_init and
     25 *  sem_open.
    2226 */
    2327
     
    6973  the_sem_attr = &the_semaphore->Semaphore.Attributes;
    7074 
    71   /* XXX
    72    *
    73    *  Note should this be based on the current scheduling policy?
     75  /*
     76   *  POSIX does not appear to specify what the discipline for
     77   *  blocking tasks on this semaphore should be.  It could somehow
     78   *  be derived from the current scheduling policy.  One
     79   *  thing is certain, no matter what we decide, it won't be
     80   *  the same as  all other POSIX implementations. :)
    7481   */
    7582
     
    8794    the_sem_attr,
    8895    value,
    89     0      /* XXX - proxy_extract_callout is unused */
     96    NULL                 /* multiprocessing is not supported */
    9097  );
     98
     99  /*
     100   *  Make the semaphore available for use.
     101   */
    91102 
    92   /* XXX - need Names to be a string!!! */
    93103  _Objects_Open(
    94104    &_POSIX_Semaphore_Information,
     
    105115      the_semaphore->Object.id,
    106116      (char *) name,
    107       0                /* proxy id - Not used */
     117      0                           /* proxy id - Not used */
    108118    );
    109119#endif
Note: See TracChangeset for help on using the changeset viewer.