forked from Imagelibrary/rtems
2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx10/init.c: Pass 0x7FFF instead of 0xFFFFFF as invalid pshared attribute to pthread_condattr_setpshared for 16bit target compliance.
This commit is contained in:
@@ -65,7 +65,7 @@ void *POSIX_Init(
|
||||
assert( status == EINVAL );
|
||||
puts( "Init: pthread_condattr_setpshared - EINVAL (attribute invalid)" );
|
||||
|
||||
status = pthread_condattr_setpshared( &attr, 0xFFFFFF );
|
||||
status = pthread_condattr_setpshared( &attr, 0x7FFF );
|
||||
if ( status != EINVAL )
|
||||
printf( "status = %d\n", status );
|
||||
assert( status == EINVAL );
|
||||
|
||||
Reference in New Issue
Block a user