Changeset 8741d2c in rtems-docs


Ignore:
Timestamp:
09/06/22 22:31:18 (15 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
c33cca3
Parents:
4f9e9e5
Message:

posix-users/process_creation_and_execution.rst: Update pthread_atfork()

Updates #4713.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • posix-users/process_creation_and_execution.rst

    r4f9e9e5 r8741d2c  
    314314 :class: rtems-table
    315315
    316  * - ``ENOSYS``
    317    - This routine is not supported by RTEMS.
    318 
    319 **DESCRIPTION:**
    320 
    321 This routine is not supported by RTEMS.
    322 
    323 **NOTES:**
    324 
    325 NONE
     316 * - ``0``
     317   - This routine is a non-functional stub.
     318
     319**DESCRIPTION:**
     320
     321This routine is non-functional stub.
     322
     323**NOTES:**
     324
     325The POSIX specification for ``pthread_atfork()`` does not address the behavior
     326when in a single process environment. Originally, the RTEMS implementation
     327returned -1 and set errno to ``ENOSYS``. This was an arbitrary decision
     328part with no basis from the wider POSIX community. The FACE Technical
     329Standard includes profiles without multiple process support and defined
     330the behavior in a single process environment to return 0. Logically, the
     331application can register atfork handlers but they will never be invoked.
    326332
    327333.. _wait:
     
    345351
    346352.. list-table::
    347  :class: rtems-table
     353 
    348354
    349355 * - ``ENOSYS``
Note: See TracChangeset for help on using the changeset viewer.