The callback way is how its done now. When I said the GUI freezes, I meant only that you cant perform other tasks while waiting for bulk writes to finish.
The reason I'm switching to threads is that I will want to make a bunch of processes multithreaded...converting from TXT,HTML,PDF->LRF as well as actually copying files to the device. In the future there will probably be more functionality as well. Making it multi-threaded will make implementing a queueing system easy. Besides I don't have much experience with multi-threaded programming and I'm looking at this as a good way to learn ;-)
|