Commit c99f8d23 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/flag: provide _nosched variants for all wakeup forms


Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent b9dd8064
......@@ -77,15 +77,25 @@ static inline void evl_raise_flag(struct evl_flag *wf)
evl_schedule();
}
static inline void evl_pulse_flag(struct evl_flag *wf)
static inline void evl_pulse_flag_nosched(struct evl_flag *wf)
{
evl_flush_wait(&wf->wait, T_BCAST);
}
static inline void evl_pulse_flag(struct evl_flag *wf)
{
evl_pulse_flag_nosched(wf);
evl_schedule();
}
static inline void evl_flush_flag(struct evl_flag *wf, int reason)
static inline void evl_flush_flag_nosched(struct evl_flag *wf, int reason)
{
evl_flush_wait(&wf->wait, reason);
}
static inline void evl_flush_flag(struct evl_flag *wf, int reason)
{
evl_flush_flag_nosched(wf, reason);
evl_schedule();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment