dvfs api and toolkits

nf2 nf2 at scheinwelt.at
Tue Apr 5 20:30:42 EEST 2005

Sean Middleditch wrote:

>On Tue, 2005-04-05 at 00:10 +0200, nf2 wrote:
>>I'd bet (a bottle of bitburger) that the daemon will be designed in 
>>synchronous (C) style using threads. You can't compare a VFS daemon with 
>>a Web-Server. A VFS backend has two "pipes" to talk to - the client and 
>>the outside world - with different speeds - which makes async design 
>>very hard.
>The daemon will be using threads, yes.  The daemon will still be
>designed around asynchronous communication with the client.
The conversion from real synchronous (C = blocking 
open-read/write-close) to async (A) should happen as close to the client 
interface as possible. The D-VFS backend interface should be in C style, 
because C makes things like this (combining access methods) possible 
without additional pipes and threads.


The Gnome-VFS documentation claims that things like this:


can be done "on the fly", which means without downloading the whole file.



More information about the xdg mailing list