mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 23:28:29 +00:00
committed by
Norman Feske
parent
041dd2a133
commit
25b41e9cff
@ -16,17 +16,22 @@
|
||||
#include <hello_session/client.h>
|
||||
#include <hello_session/connection.h>
|
||||
|
||||
#include <timer_session/connection.h>
|
||||
|
||||
using namespace Genode;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
Hello::Connection h;
|
||||
|
||||
Timer::Connection timer;
|
||||
|
||||
while (1) {
|
||||
h.say_hello();
|
||||
|
||||
int foo = h.add(2, 5);
|
||||
PDBG("Added 2 + 5 = %d", foo);
|
||||
timer.msleep(1000);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user