Re: Gnome VFS - plans for Gnome 2.8



On Fri, 2004-04-09 at 05:12, Colin Walters wrote:
> On Thu, 2004-03-25 at 05:19, Alexander Larsson wrote:
> 
> > Some stuff that I'd like to see done:
> 
> [...]
> 
> I'd like to add one thing to this list - a way to open a file async, but
> later do sync reads.  I specifically want this for Rhythmbox, so that we
> can open a radio station asynchronously, and then pass the handle to
> gnomevfssrc inside GStreamer so it can do synchronous reads.  This way
> Rythmbox won't hang until TCP timeout on sites that are down.
> 
> GnomeVFS already sort-of supports this with
> gnome_vfs_async_open_as_channel, but I don't want a GIOChannel, I want a
> GnomeVFSHandle :)

I believe it should be possible to write a
convert_async_handle_to_handle, but you can't use the async handle any
more after that.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a suicidal dishevelled barbarian on a mission from God. She's a mentally 
unstable antique-collecting Hell's Angel from a secret island of warrior 
women. They fight crime! 




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