Re: A nautilus script to enqueue folders and files to rhythmbox



On Sat, 2010-05-01 at 00:17 +0530, Seemanta Dutta wrote:
> Wow Adam!! That was superfast! Appreciate your prompt response. So
> now, I have a question. If this update_info_full() method gets called
> for each and every file, then would having such a plugin make sense?
> Every directory load would start 'n' async threads reading its
> contents recursively, where n is the number of folders contained
> within that folder. 
> 
> I have started to have second thoughts over my plugin now :(
> Please advise.

Just use a a threadpool with a limited number of threads.




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