Changeset 4210114 in rtems for cpukit/sapi


Ignore:
Timestamp:
Jan 26, 2016, 10:13:45 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
3bc12a8f
Parents:
1ff8eca
git-author:
Sebastian Huber <sebastian.huber@…> (01/26/16 10:13:45)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/03/16 09:00:58)
Message:

Use linker set for POSIX User Threads init

Update #2408.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    r1ff8eca r4210114  
    34623462    #if defined(CONFIGURE_POSIX_INIT_THREAD_TABLE) || \
    34633463        defined(CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE)
    3464       void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
    3465                 _POSIX_Threads_Initialize_user_threads_body;
    3466     #else
    3467       void (*_POSIX_Threads_Initialize_user_threads_p)(void) = NULL;
     3464      RTEMS_SYSINIT_ITEM(
     3465        _POSIX_Threads_Initialize_user_threads_body,
     3466        RTEMS_SYSINIT_POSIX_USER_THREADS,
     3467        RTEMS_SYSINIT_ORDER_MIDDLE
     3468      );
    34683469    #endif
    34693470  #endif
Note: See TracChangeset for help on using the changeset viewer.