diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-29 11:05:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-02 07:46:15 +0200 |
commit | 7e66865e17d7a82add541056de13717793da002a (patch) | |
tree | 924312da2c1abe33c48b6ec84102cde59c28074c /cpukit/score/src/coremsg.c | |
parent | score: _CORE_message_queue_Insert_message() (diff) | |
download | rtems-7e66865e17d7a82add541056de13717793da002a.tar.bz2 |
score: Move message notification
Move message notification to end of critical section and delegate the
message queue release to the notification handler. It may do more
complex notification actions out of the critical section.
Update #2555.
Diffstat (limited to 'cpukit/score/src/coremsg.c')
-rw-r--r-- | cpukit/score/src/coremsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c index b184585964..03c0587448 100644 --- a/cpukit/score/src/coremsg.c +++ b/cpukit/score/src/coremsg.c @@ -55,7 +55,7 @@ bool _CORE_message_queue_Initialize( the_message_queue->maximum_pending_messages = maximum_pending_messages; the_message_queue->number_of_pending_messages = 0; the_message_queue->maximum_message_size = maximum_message_size; - _CORE_message_queue_Set_notify( the_message_queue, NULL, NULL ); + _CORE_message_queue_Set_notify( the_message_queue, NULL ); allocated_message_size = maximum_message_size; |