Re: Efficient IPC mechanism on Linux
From: Luca Veraldi
Date: Wed Sep 10 2003 - 07:26:48 EST
> it is widely accepted one.
Widely accepted does not necessary implies clear.
Sorry if I consider more readable this:
ch=acquire(CHANNEL_ID);
instead of this:
while((fd = open("fifo", O_WRONLY)) < 0) ;
But this is quite an aestethical fact.
If you like "open" and "write", open Emacs and do a global replace
"acquire" with "open"
and
"zc_send" with "write".
Few other minor details will make it a compatible interface.
------------------------------
Fashion is a variable
but style is a constant
------------------------------ Larry Wall
Bye,
Luca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/