aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-02 12:48:17 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-02 12:48:17 +0000
commitec4178dd0ff7587b79a8c525aa88d467642ce629 (patch)
tree6db0317be3b6d5246786cfd222b0a2991f6b2d96 /src/include
parentd1ea164bdb96503020d315cce14471c3e0d87c36 (diff)
downloadChibiOS-ec4178dd0ff7587b79a8c525aa88d467642ce629.tar.gz
ChibiOS-ec4178dd0ff7587b79a8c525aa88d467642ce629.tar.bz2
ChibiOS-ec4178dd0ff7587b79a8c525aa88d467642ce629.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@712 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include')
-rw-r--r--src/include/events.h2
-rw-r--r--src/include/messages.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/events.h b/src/include/events.h
index 34c35d487..53d7bd72e 100644
--- a/src/include/events.h
+++ b/src/include/events.h
@@ -82,6 +82,8 @@ extern "C" {
void chEvtUnregister(EventSource *esp, EventListener *elp);
eventmask_t chEvtClear(eventmask_t mask);
eventmask_t chEvtPend(eventmask_t mask);
+ void chEvtSignal(Thread *tp, eventmask_t mask);
+ void chEvtSignalI(Thread *tp, eventmask_t mask);
void chEvtBroadcast(EventSource *esp);
void chEvtBroadcastI(EventSource *esp);
void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask);
diff --git a/src/include/messages.h b/src/include/messages.h
index c93d6a2d7..d4bbb9851 100644
--- a/src/include/messages.h
+++ b/src/include/messages.h
@@ -47,8 +47,8 @@ extern "C" {
msg_t chMsgGet(void);
void chMsgRelease(msg_t msg);
-#ifdef CH_USE_MESSAGES_EVENT
- msg_t chMsgSendWithEvent(Thread *tp, msg_t msg, EventSource *esp);
+#if defined(CH_USE_EVENTS) && defined(CH_USE_MESSAGES_EVENT)
+ msg_t chMsgSendWithEvent(Thread *tp, msg_t msg, eventmask_t mask);
#endif
#ifdef __cplusplus
}