Changeset 645fc954 in rtems


Ignore:
Timestamp:
08/14/96 15:27:14 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
520949bf
Parents:
dce801d
Message:

pthread_attr_setscope: returns ENOTSUP not ENOSYS for unsupport scope

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx07/init.c

    rdce801d r645fc954  
    159159  assert( status == EINVAL );
    160160
    161   puts( "Init: pthread_attr_setscope - ENOSYS" );
     161  puts( "Init: pthread_attr_setscope - ENOTSUP" );
    162162  status = pthread_attr_setscope( &attr, PTHREAD_SCOPE_SYSTEM );
    163   assert( status == ENOSYS );
     163  assert( status == ENOTSUP );
    164164
    165165  puts( "Init: pthread_attr_setscope - EINVAL (not initialized attr)" );
  • testsuites/psxtests/psx07/init.c

    rdce801d r645fc954  
    159159  assert( status == EINVAL );
    160160
    161   puts( "Init: pthread_attr_setscope - ENOSYS" );
     161  puts( "Init: pthread_attr_setscope - ENOTSUP" );
    162162  status = pthread_attr_setscope( &attr, PTHREAD_SCOPE_SYSTEM );
    163   assert( status == ENOSYS );
     163  assert( status == ENOTSUP );
    164164
    165165  puts( "Init: pthread_attr_setscope - EINVAL (not initialized attr)" );
Note: See TracChangeset for help on using the changeset viewer.