diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-07-01 22:30:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-07-01 22:30:12 +0000 |
commit | ef9505a92f6c9c962dc2649f49002311466e009e (patch) | |
tree | 5a869b6101918ff8b37f19ca2b36f0b835d69d58 /c/src/exec/score/src/coremsg.c | |
parent | 2002-07-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-ef9505a92f6c9c962dc2649f49002311466e009e.tar.bz2 |
2002-07-01 Joel Sherrill <joel@OARcorp.com>
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* include/Makefile.am, include/rtems/score/coremsg.h,
include/rtems/score/coremutex.h, include/rtems/score/coresem.h,
include/rtems/score/object.h, include/rtems/score/threadq.h,
inline/rtems/score/object.inl, inline/rtems/score/thread.inl,
macros/rtems/score/object.inl, src/Makefile.am, src/coremsg.c,
src/coremutex.c, src/coresem.c, src/mpci.c,
src/objectcomparenameraw.c, src/objectextendinformation.c,
src/objectinitializeinformation.c, src/objectnametoid.c,
src/thread.c, src/threadclose.c, src/threadget.c, src/threadq.c,
src/threadqextractwithproxy.c: Modified as part of above.
* include/rtems/score/apimutex.h, src/objectgetnoprotection.c: New
files.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/src/coremsg.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/c/src/exec/score/src/coremsg.c b/c/src/exec/score/src/coremsg.c index 9895d52f68..5ae58a2908 100644 --- a/c/src/exec/score/src/coremsg.c +++ b/c/src/exec/score/src/coremsg.c @@ -42,7 +42,6 @@ * the_message_queue_attributes - the message queue's attributes * maximum_pending_messages - maximum message and reserved buffer count * maximum_message_size - maximum size of each message - * proxy_extract_callout - remote extract support * * Output parameters: * TRUE - if the message queue is initialized @@ -51,11 +50,9 @@ boolean _CORE_message_queue_Initialize( CORE_message_queue_Control *the_message_queue, - Objects_Classes the_class, CORE_message_queue_Attributes *the_message_queue_attributes, unsigned32 maximum_pending_messages, - unsigned32 maximum_message_size, - Thread_queue_Extract_callout proxy_extract_callout + unsigned32 maximum_message_size ) { unsigned32 message_buffering_required; @@ -96,11 +93,9 @@ boolean _CORE_message_queue_Initialize( _Thread_queue_Initialize( &the_message_queue->Wait_queue, - the_class, _CORE_message_queue_Is_priority( the_message_queue_attributes ) ? THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO, STATES_WAITING_FOR_MESSAGE, - proxy_extract_callout, CORE_MESSAGE_QUEUE_STATUS_TIMEOUT ); |