l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mach on L4


From: Farid Hajji
Subject: Re: Mach on L4
Date: Tue, 24 Jul 2001 15:41:46 +0200

Hi Jan Atle,

> It had 5 functions for IPC, based on the idea of a synchronized FIFO (OK, so 
> I'm lying, but it _feels_ like 5 functions).
> 
> QUEUE q = q_open(char *qname, int quesize)
> q_read(QUEUE q, char* buffer) - q_cread(QUEUE q, char* buffer, BOOLEAN wait)
> // the c is for 'conditional'
> q_write(QUEUE q, char* buffer) - q_cwrite(QUEUE q, char* buffer, BOOLEAN wait)
> q_close(QUEUE q)
This is a very generic, simple and useful IPC interface. Theoretically,
most of the Hurd's IPC semantics could be adapted to this. Moreover,
QUEUEs [c]read/[c]write could be implemented by sychroneous IPC, which
is a Good Thing for a VK/L4 port.

Thanks for defining this. We could probably use it, e.g. in an RPC (IDL?)
compiler backend to VK!

> That was all I had to say ...
...and it is very useful. Thanks again!

-Farid.

-- 
Farid Hajji -- Unix Systems and Network Admin | Phone: +49-2131-67-555
Broicherdorfstr. 83, D-41564 Kaarst, Germany  | address@hidden
- - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - -
One OS To Rule Them All And In The Darkness Bind Them... --Bill Gates.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]