mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
671682cb6a
commit
b2947d2187
@ -117,6 +117,7 @@ Writing server code
|
||||
###################
|
||||
|
||||
Now let's write a server providing the interface defined by _Hello::Session_.
|
||||
We will put all of this code in 'src/hello/server/main.cc'
|
||||
|
||||
|
||||
Implementing the server side
|
||||
@ -331,6 +332,8 @@ Afterwards, we create a 'Hello::Session_client' object with it and invoke calls.
|
||||
addition, we use the Timer service that comes with Genode. This server
|
||||
enables us to sleep for a certain amount of milliseconds.
|
||||
|
||||
Put this code into 'src/hello/client/main.cc':
|
||||
|
||||
!#include <base/env.h>
|
||||
!#include <base/printf.h>
|
||||
!#include <hello_session/client.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user