diff --git a/include/sched.hh b/include/sched.hh index 465d60e223b10d4ea3d91896c86712a8c35cfcbc..7e729709ac485cc94037d7a6b32cc8ea23fdf483 100644 --- a/include/sched.hh +++ b/include/sched.hh @@ -202,8 +202,8 @@ public: template <class Pred> static void wait_until(mutex_t* mtx, Pred pred); void wake(); - template <class Pred> - inline void wake_with(Pred pred); + template <class Action> + inline void wake_with(Action action); static void sleep_until(s64 abstime); static void yield(); static void exit() __attribute__((__noreturn__));