Changeset 81fd79d in rtems


Ignore:
Timestamp:
Oct 27, 2017, 6:52:41 AM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c52a968
Parents:
8fa827c
git-author:
Sebastian Huber <sebastian.huber@…> (10/27/17 06:52:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/02/17 10:23:17)
Message:

smppsxaffinity02: Fix thread attribute usage

The pthread_getattr_np() returns now the stack address and size. Do not
use this stack for the new threads.

Update #2514.
Update #3145.
Update #3168.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smppsxaffinity02/init.c

    r8fa827c r81fd79d  
    114114  sc = pthread_getattr_np( Init_id, &attr );
    115115  rtems_test_assert( sc == 0 );
     116
     117  sc = pthread_attr_setstack( &attr, NULL, 0 );
     118  rtems_test_assert( sc == 0 );
     119
    116120  sc = pthread_attr_getschedparam( &attr, &param );
    117121  rtems_test_assert( sc == 0 );
Note: See TracChangeset for help on using the changeset viewer.