Changeset 5240c71c in rtems


Ignore:
Timestamp:
May 29, 1996, 8:58:45 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2a98af84
Parents:
2197a2e1
Message:

fixed support for posix initialization threads table

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/headers/confdefs.h

    r2197a2e1 r5240c71c  
    266266#endif
    267267
    268 #endif
     268#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
     269
     270#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
     271#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT   Init
     272#endif
     273
     274#ifdef CONFIGURE_INIT
     275posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
     276  { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
     277};
     278#endif
     279
     280#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
     281 
     282#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
     283  sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
     284      sizeof(posix_initialization_tasks_table)
     285
     286#endif    /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
     287
     288#endif    /* RTEMS_POSIX_API */
    269289
    270290/*
     
    393413  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    394414  CONFIGURE_MAXIMUM_POSIX_KEYS,
    395   0,
    396   NULL
     415  CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
     416  CONFIGURE_POSIX_INIT_TASK_TABLE
    397417};
    398418#endif
  • c/src/exec/sapi/include/confdefs.h

    r2197a2e1 r5240c71c  
    266266#endif
    267267
    268 #endif
     268#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
     269
     270#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
     271#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT   Init
     272#endif
     273
     274#ifdef CONFIGURE_INIT
     275posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
     276  { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
     277};
     278#endif
     279
     280#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
     281 
     282#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
     283  sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
     284      sizeof(posix_initialization_tasks_table)
     285
     286#endif    /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
     287
     288#endif    /* RTEMS_POSIX_API */
    269289
    270290/*
     
    393413  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    394414  CONFIGURE_MAXIMUM_POSIX_KEYS,
    395   0,
    396   NULL
     415  CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
     416  CONFIGURE_POSIX_INIT_TASK_TABLE
    397417};
    398418#endif
  • cpukit/sapi/include/confdefs.h

    r2197a2e1 r5240c71c  
    266266#endif
    267267
    268 #endif
     268#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
     269
     270#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
     271#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT   Init
     272#endif
     273
     274#ifdef CONFIGURE_INIT
     275posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
     276  { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
     277};
     278#endif
     279
     280#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
     281 
     282#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
     283  sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
     284      sizeof(posix_initialization_tasks_table)
     285
     286#endif    /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
     287
     288#endif    /* RTEMS_POSIX_API */
    269289
    270290/*
     
    393413  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    394414  CONFIGURE_MAXIMUM_POSIX_KEYS,
    395   0,
    396   NULL
     415  CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
     416  CONFIGURE_POSIX_INIT_TASK_TABLE
    397417};
    398418#endif
Note: See TracChangeset for help on using the changeset viewer.