Does not really support multiprocessing so do not even try to

build it.
This commit is contained in:
Joel Sherrill
2000-05-04 14:08:32 +00:00
parent 9fb78b8039
commit 57b6590b1b
3 changed files with 6 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ int _POSIX_Message_queue_Create_support(
attr = *attr_ptr; attr = *attr_ptr;
} }
#if defined(RTEMS_MULTIPROCESSING) #if 0 && defined(RTEMS_MULTIPROCESSING)
if ( pshared == PTHREAD_PROCESS_SHARED && if ( pshared == PTHREAD_PROCESS_SHARED &&
!( _Objects_MP_Allocate_and_open( &_POSIX_Message_queue_Information, 0, !( _Objects_MP_Allocate_and_open( &_POSIX_Message_queue_Information, 0,
the_mq->Object.id, FALSE ) ) ) { the_mq->Object.id, FALSE ) ) ) {
@@ -112,14 +112,14 @@ int _POSIX_Message_queue_Create_support(
the_mq_attr, the_mq_attr,
attr.mq_maxmsg, attr.mq_maxmsg,
attr.mq_msgsize, attr.mq_msgsize,
#if defined(RTEMS_MULTIPROCESSING) #if 0 && defined(RTEMS_MULTIPROCESSING)
_POSIX_Message_queue_MP_Send_extract_proxy _POSIX_Message_queue_MP_Send_extract_proxy
#else #else
NULL NULL
#endif #endif
) ) { ) ) {
#if defined(RTEMS_MULTIPROCESSING) #if 0 && defined(RTEMS_MULTIPROCESSING)
if ( pshared == PTHREAD_PROCESS_SHARED ) if ( pshared == PTHREAD_PROCESS_SHARED )
_Objects_MP_Close( &_POSIX_Message_queue_Information, the_mq->Object.id ); _Objects_MP_Close( &_POSIX_Message_queue_Information, the_mq->Object.id );
#endif #endif
@@ -137,7 +137,7 @@ int _POSIX_Message_queue_Create_support(
*message_queue = the_mq; *message_queue = the_mq;
#if defined(RTEMS_MULTIPROCESSING) #if 0 && defined(RTEMS_MULTIPROCESSING)
if ( pshared == PTHREAD_PROCESS_SHARED ) if ( pshared == PTHREAD_PROCESS_SHARED )
_POSIX_Message_queue_MP_Send_process_packet( _POSIX_Message_queue_MP_Send_process_packet(
POSIX_MESSAGE_QUEUE_MP_ANNOUNCE_CREATE, POSIX_MESSAGE_QUEUE_MP_ANNOUNCE_CREATE,

View File

@@ -48,7 +48,7 @@ void _POSIX_Message_queue_Delete(
_POSIX_Message_queue_Free( the_mq ); _POSIX_Message_queue_Free( the_mq );
#if defined(RTEMS_MULTIPROCESSING) #if 0 && defined(RTEMS_MULTIPROCESSING)
if ( the_mq->process_shared == PTHREAD_PROCESS_SHARED ) { if ( the_mq->process_shared == PTHREAD_PROCESS_SHARED ) {
_Objects_MP_Close( _Objects_MP_Close(

View File

@@ -63,7 +63,7 @@ int mq_unlink(
_Objects_Get_index( the_mq_id ) _Objects_Get_index( the_mq_id )
); );
#if defined(RTEMS_MULTIPROCESSING) #if 0 && defined(RTEMS_MULTIPROCESSING)
if ( the_mq->process_shared == PTHREAD_PROCESS_SHARED ) { if ( the_mq->process_shared == PTHREAD_PROCESS_SHARED ) {
_Objects_MP_Close( &_POSIX_Message_queue_Information, the_mq_id ); _Objects_MP_Close( &_POSIX_Message_queue_Information, the_mq_id );
} }