This website requires JavaScript.
Explore
Help
Sign In
ExternalVendorCode
/
genode
Watch
1
Star
0
Fork
0
You've already forked genode
mirror of
https://github.com/genodelabs/genode.git
synced
2024-12-21 22:47:50 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
4c3d49459b
genode
/
demo
/
lib
/
mk
/
launchpad.mk
5 lines
93 B
Makefile
Raw
Normal View
History
Unescape
Escape
Turn 'Timer::Session' into asynchronous interface The 'Timer::Session::msleep' function is one of the last occurrences of long-blocking RPC calls. Synchronous blocking RPC interfaces turned out to be constant source of trouble and code complexity. I.e., a timer client that also wants to respond to non-timer events was forced to be a multi-threaded process. This patch replaces the blocking 'msleep' call by a mechanism for programming timeouts and receiving wakeup signals in an asynchronous fashion. Thereby signals originating from the timer can be handled along with signals from other signal sources by a single thread. The changed interface has been tested on Linux, L4/Fiasco, OKL4, NOVA, L4ka::Pistachio, Codezero, Fiasco.OC, and hw_pbxa9. Furthermore, this patch adds the timer test to autopilot. Fixes #1
2012-10-29 20:05:32 +00:00
LIBS
=
child signal
Imported Genode release 11.11
2011-12-22 15:19:25 +00:00
SRC_CC
=
launchpad.cc
v
p
a
t
h
l
a
u
n
c
h
p
a
d
.
c
c
$(
REP_DIR
)
/
s
r
c
/
l
i
b
/
l
a
u
n
c
h
p
a
d
Reference in New Issue
Copy Permalink