Flips tracking of IPC

Tiago Jorge tjpj at lasige.di.fc.ul.pt
Wed May 4 15:54:27 CEST 2005


Christian Helmuth wrote:

>2) Implement a really multi-threaded server with dietlibc and L4VFS, in
>   which thread A can block on L while thread B sends via S. Post your
>   experiences and ask questions backgrounded with sufficient information
>   about the scenario and used functions.
>  
>
My solution is to have somekind of a pool using non-blocking select. if 
it has input then he does the recvfrom else sleeps for a period of time 
and the checks again for input.
Ths other solution was to have a L4 server to relay messages... but then 
i would also have the IPC overhead... so i went to the solution above.

thanks for the help

Tiago





More information about the l4-hackers mailing list