Changeset cd3e220 in rtems


Ignore:
Timestamp:
Nov 20, 2017, 5:30:26 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
15e19273
Parents:
a7dcef97
git-author:
Sebastian Huber <sebastian.huber@…> (11/20/17 05:30:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/22/17 08:40:23)
Message:

INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL

Delete superfluous INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL.

Update #3243.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/pthreadinitthreads.c

    ra7dcef97 rcd3e220  
    4141  pthread_t                           thread_id;
    4242  pthread_attr_t                      attr;
    43   void                             *(*thread_entry)(void *);
    4443
    4544  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
     
    6766    _Assert( eno == 0 );
    6867
    69     thread_entry = user_threads[ index ].thread_entry;
    70     if ( thread_entry == NULL ) {
    71       _Internal_error( INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL );
    72     }
    73 
    7468    eno = pthread_create(
    7569      &thread_id,
    7670      &attr,
    77       thread_entry,
     71      user_threads[ index ].thread_entry,
    7872      NULL
    7973    );
  • cpukit/score/include/rtems/score/interr.h

    ra7dcef97 rcd3e220  
    168168  INTERNAL_ERROR_RESOURCE_IN_USE = 25,
    169169  INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL = 26,
    170   INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL = 27,
     170  /* INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL = 27, */
    171171  INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK = 28,
    172172  INTERNAL_ERROR_THREAD_QUEUE_ENQUEUE_STICKY_FROM_BAD_STATE = 29,
  • testsuites/psxtests/psxfatal01/testcase.h

    ra7dcef97 rcd3e220  
    3030#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
    3131#define FATAL_ERROR_EXPECTED_ERROR \
    32   INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL
     32  INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED
    3333
    3434void force_error(void)
Note: See TracChangeset for help on using the changeset viewer.