Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2013-04-04 12:10:36 +0000
committerThomas Schuetz2013-04-04 12:10:36 +0000
commit55713dae5563d9c09a285605cd4677a915a0b169 (patch)
treeec3674ef0bb6dc5657e0c16616f0525e7763e854 /runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessageService.c
parenta028053da2837752a8260a0a7ceb1c1fe4740ebe (diff)
downloadorg.eclipse.etrice-55713dae5563d9c09a285605cd4677a915a0b169.tar.gz
org.eclipse.etrice-55713dae5563d9c09a285605cd4677a915a0b169.tar.xz
org.eclipse.etrice-55713dae5563d9c09a285605cd4677a915a0b169.zip
[runtime.c, generator.c] bugfixes for messaging and MSC logging
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessageService.c')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessageService.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessageService.c b/runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessageService.c
index d602edb65..de713f568 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessageService.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/messaging/etMessageService.c
@@ -106,6 +106,7 @@ etMessage* etMessageService_getMessageBuffer(etMessageService* self, etUInt16 si
if (size<=self->messageBuffer.blockSize){
if (self->messagePool.size>0){
etMessage* msg = etMessageQueue_pop(&self->messagePool);
+ etMutex_leave(&self->poolMutex);
ET_MSC_LOGGER_SYNC_EXIT
return msg;
}

Back to the top