[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] New network structure
From: |
Tomas Groth |
Subject: |
Re: [Gnash-dev] New network structure |
Date: |
Sun, 4 Mar 2007 23:02:20 +0100 (CET) |
Hi,
Just to end this thread properly, i just wanted to point out that mostly due to
me failing to read documentation and specs properly, we won't need to switch
from the current curl_adapter, though it will be extended a bit, and some has
already been done.
What still remains is primarily the download thread, which will most likely be
implemented as a seperate class. A quick design for it could be that it
receives a tu_file, and a mutex from the as_object that needs something
downloaded. The mutex is used to avoid the thread writing new data to the file
while the as_object is reading. If needed the as_object can pass a number (X)
and a callback function to the download class which will call the callback when
there has been downloaded X bytes of the file.
cheers,
Tomas
__________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
notesblok. http://dk.mail.yahoo.com