Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3rdparty/libprocess
/ delay
Function
delay
include/process/delay.hpp:31–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
30
template <typename T>
31
Timer delay(const Duration& duration,
32
const PID<T>& pid,
33
void (T::*method)())
34
{
35
return Clock::timer(duration, [=]() {
36
dispatch(pid, method);
37
});
38
}
39
40
41
template <typename T>
Callers
2
acquire
Method · 0.70
_acquire
Method · 0.70
Calls
2
self
Method · 0.80
dispatch
Function · 0.70
Tested by
no test coverage detected