[Top][All Lists]
[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.
- Re: SawMill Multiserver vs. the Hurd, (continued)
- Message not available
- Re: SawMill Multiserver vs. the Hurd, Farid Hajji, 2001/07/06
- Mach on L4 (was Re: SawMill Multiserver vs. the Hurd), Michael Hohmuth, 2001/07/12
- Re: Mach on L4 (was Re: SawMill Multiserver vs. the Hurd), Farid Hajji, 2001/07/17
- Re: Mach on L4, Michael Hohmuth, 2001/07/18
- Re: Mach on L4, Farid Hajji, 2001/07/18
- Re: Mach on L4, Michael Hohmuth, 2001/07/19
- Re: Mach on L4, Farid Hajji, 2001/07/20
- Re: Mach on L4, Michael Hohmuth, 2001/07/22
- Re: Mach on L4, Farid Hajji, 2001/07/22
- Re: Mach on L4, Jan Atle Ramsli, 2001/07/23
- Re: Mach on L4,
Farid Hajji <=