Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jung2014-12-09 16:15:15 +0000
committerThomas Jung2014-12-09 16:15:15 +0000
commit91beff52d7a0c52390b17dcdfe2a37cb00a34fc4 (patch)
tree55018500573aa37f593ccd2bda8e52fa84b4060c /runtime/org.eclipse.etrice.runtime.c/src/platforms
parentf98dcd973aa82ad5064f93f288c65dc603860940 (diff)
downloadorg.eclipse.etrice-91beff52d7a0c52390b17dcdfe2a37cb00a34fc4.tar.gz
org.eclipse.etrice-91beff52d7a0c52390b17dcdfe2a37cb00a34fc4.tar.xz
org.eclipse.etrice-91beff52d7a0c52390b17dcdfe2a37cb00a34fc4.zip
etrice.runtime.c Interrupt included
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etSema.c7
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etSema.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etSema.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etSema.c
index 8eb5660f2..9f8d583cf 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etSema.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etSema.c
@@ -39,6 +39,13 @@ void etSema_destruct(etSema* self){
ET_MSC_LOGGER_SYNC_EXIT
}
+void etSema_wakeupFromISR(etSema* self){
+ ET_MSC_LOGGER_SYNC_ENTRY("etSema", "wakeupFromISR")
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
+
void etSema_wakeup(etSema* self){
ET_MSC_LOGGER_SYNC_ENTRY("etSema", "wakeup")
{
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etSema.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etSema.c
index 5d779ec26..cb38e9b6b 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etSema.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etSema.c
@@ -33,6 +33,12 @@ void etSema_destruct(etSema* self){
ET_MSC_LOGGER_SYNC_EXIT
}
+void etSema_wakeupFromISR(etSema* self){
+ ET_MSC_LOGGER_SYNC_ENTRY("etSema", "wakeupFromISR")
+
+ ET_MSC_LOGGER_SYNC_EXIT
+}
+
void etSema_wakeup(etSema* self){
ET_MSC_LOGGER_SYNC_ENTRY("etSema", "wakeup")
SetEvent( self->osData );

Back to the top