Changeset f362fa7 in rtems


Ignore:
Timestamp:
02/23/00 15:59:20 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
7209360a
Parents:
06383557
Message:

Fixed based on report from Peter Pointner <pr@…> that
POSIX threads passed the incorrect pointer to a default name on
the stack. POSIX threads did not need a name and neither did
ITRON tasks so this code was eliminated from both APIs.

Location:
c/src/exec
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/itron/src/cre_tsk.c

    r06383557 rf362fa7  
    3131{
    3232  register Thread_Control     *the_thread;
    33   char                        *name = "trn";
    3433  boolean                      status;
    3534  Priority_Control             core_priority; 
     
    9190    NULL,        /* no budget algorithm callout */
    9291    0,
    93     &name
     92    NULL
    9493  );
    9594
  • c/src/exec/posix/src/pthread.c

    r06383557 rf362fa7  
    357357    maximum_pthreads,
    358358    sizeof( Thread_Control ),
    359     TRUE,
    360     5,                                   /* length is arbitrary for now */
     359    FALSE,
     360    0,                                   /* length is arbitrary for now */
    361361    TRUE                                 /* this class is threads */
    362362  );
  • c/src/exec/posix/src/pthreadcreate.c

    r06383557 rf362fa7  
    3535  boolean                             status;
    3636  Thread_Control                     *the_thread;
    37   char                               *default_name = "psx";
    3837  POSIX_API_Control                  *api;
    3938  int                                 schedpolicy = SCHED_RR;
     
    178177    budget_callout,
    179178    0,                    /* isr level */
    180     &default_name         /* posix threads don't have a name */
     179    NULL                  /* posix threads don't have a name */
    181180  );
    182181 
Note: See TracChangeset for help on using the changeset viewer.