forked from Imagelibrary/rtems
2000-11-30 Joel Sherrill <joel@OARcorp.com>
* src/msgqsubmit.c: Modified multiprocessing conditional so this would compile with both macros and inlines.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* src/msgqsubmit.c: Modified multiprocessing conditional so
|
||||||
|
this would compile with both macros and inlines.
|
||||||
|
|
||||||
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* macros/rtems/rtems/sem.inl: Added macro implementation of
|
* macros/rtems/rtems/sem.inl: Added macro implementation of
|
||||||
|
|||||||
@@ -52,6 +52,12 @@
|
|||||||
* error code - if unsuccessful
|
* error code - if unsuccessful
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
|
#define MESSAGE_QUEUE_MP_HANDLER _Message_queue_Core_message_queue_mp_support
|
||||||
|
#else
|
||||||
|
#define MESSAGE_QUEUE_MP_HANDLER NULL
|
||||||
|
#endif
|
||||||
|
|
||||||
rtems_status_code _Message_queue_Submit(
|
rtems_status_code _Message_queue_Submit(
|
||||||
Objects_Id id,
|
Objects_Id id,
|
||||||
void *buffer,
|
void *buffer,
|
||||||
@@ -102,11 +108,7 @@ rtems_status_code _Message_queue_Submit(
|
|||||||
buffer,
|
buffer,
|
||||||
size,
|
size,
|
||||||
id,
|
id,
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
MESSAGE_QUEUE_MP_HANDLER,
|
||||||
_Message_queue_Core_message_queue_mp_support,
|
|
||||||
#else
|
|
||||||
NULL,
|
|
||||||
#endif
|
|
||||||
FALSE, /* sender does not block */
|
FALSE, /* sender does not block */
|
||||||
0 /* no timeout */
|
0 /* no timeout */
|
||||||
);
|
);
|
||||||
@@ -117,11 +119,7 @@ rtems_status_code _Message_queue_Submit(
|
|||||||
buffer,
|
buffer,
|
||||||
size,
|
size,
|
||||||
id,
|
id,
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
MESSAGE_QUEUE_MP_HANDLER,
|
||||||
_Message_queue_Core_message_queue_mp_support,
|
|
||||||
#else
|
|
||||||
NULL,
|
|
||||||
#endif
|
|
||||||
FALSE, /* sender does not block */
|
FALSE, /* sender does not block */
|
||||||
0 /* no timeout */
|
0 /* no timeout */
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* src/msgqsubmit.c: Modified multiprocessing conditional so
|
||||||
|
this would compile with both macros and inlines.
|
||||||
|
|
||||||
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
2000-11-30 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* macros/rtems/rtems/sem.inl: Added macro implementation of
|
* macros/rtems/rtems/sem.inl: Added macro implementation of
|
||||||
|
|||||||
@@ -52,6 +52,12 @@
|
|||||||
* error code - if unsuccessful
|
* error code - if unsuccessful
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
|
#define MESSAGE_QUEUE_MP_HANDLER _Message_queue_Core_message_queue_mp_support
|
||||||
|
#else
|
||||||
|
#define MESSAGE_QUEUE_MP_HANDLER NULL
|
||||||
|
#endif
|
||||||
|
|
||||||
rtems_status_code _Message_queue_Submit(
|
rtems_status_code _Message_queue_Submit(
|
||||||
Objects_Id id,
|
Objects_Id id,
|
||||||
void *buffer,
|
void *buffer,
|
||||||
@@ -102,11 +108,7 @@ rtems_status_code _Message_queue_Submit(
|
|||||||
buffer,
|
buffer,
|
||||||
size,
|
size,
|
||||||
id,
|
id,
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
MESSAGE_QUEUE_MP_HANDLER,
|
||||||
_Message_queue_Core_message_queue_mp_support,
|
|
||||||
#else
|
|
||||||
NULL,
|
|
||||||
#endif
|
|
||||||
FALSE, /* sender does not block */
|
FALSE, /* sender does not block */
|
||||||
0 /* no timeout */
|
0 /* no timeout */
|
||||||
);
|
);
|
||||||
@@ -117,11 +119,7 @@ rtems_status_code _Message_queue_Submit(
|
|||||||
buffer,
|
buffer,
|
||||||
size,
|
size,
|
||||||
id,
|
id,
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
MESSAGE_QUEUE_MP_HANDLER,
|
||||||
_Message_queue_Core_message_queue_mp_support,
|
|
||||||
#else
|
|
||||||
NULL,
|
|
||||||
#endif
|
|
||||||
FALSE, /* sender does not block */
|
FALSE, /* sender does not block */
|
||||||
0 /* no timeout */
|
0 /* no timeout */
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user