Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rybec/pyRTOS
/ initialize
Method
initialize
pyRTOS/task.py:55–57 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
53
# for it, then it will start it, it will run its initialization code,
54
# and then it will yield.
55
def
initialize(self):
56
self.thread = self.func(self)
57
next(self.thread)
58
59
# Run task until next yield
60
def
run_next(self):
Callers
1
add_task
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected