mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq04/init.c: Add call to mq_unlink.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psxmsgq04/init.c: Add call to mq_unlink.
|
||||
|
||||
2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am, configure.ac: Add shell of new test.
|
||||
|
||||
@@ -39,6 +39,12 @@ void *POSIX_Init(
|
||||
perror( "mq_open failed" );
|
||||
assert( Queue != (-1) );
|
||||
|
||||
puts( "Init - Unlink message queue" );
|
||||
sc = mq_unlink( "Queue" );
|
||||
if ( sc != 0 )
|
||||
perror( "mq_unlink failed" );
|
||||
assert( sc == 0 );
|
||||
|
||||
puts( "Init - Close message queue" );
|
||||
sc = mq_close( Queue );
|
||||
if ( sc != 0 )
|
||||
|
||||
Reference in New Issue
Block a user