On Wed 21.07.2004 at 02:52:13PM +0200, Florian Demmer wrote: > On Wed, 21 Jul 2004 13:15:32 +0200, Dirk Meyer <[EMAIL PROTECTED]> wrote: > > I thought twisted is threaded. Now I see that the thread we have is > > the generic record plugin. Bad, this needs to be changed. Maybe for > > 1.5.1 but more on 1.5.1 vs. 1.6.0 in a different mail. > > a few months ago the Linux Weeks happened in Vienna and a guy said > repeatingly that twisted is completely asynchronous. no threads. > (which is one of the reasons why it is that powerful with handling > multiple protocols/gui/other things at the "same" time)... > but i dont have his name or written evidence.
I have read the XML-RPC code of twisted when I was trying to debug the communication between Freevo and the record server, and I haven't seen any thread there. But of course I haven't read the whole code. But besides that, how do you (freevo core coders) plan to get rid of threads? how can freevo start e.g. mplayer without starting another thread? the thread can be in the same process or in a separate process, but threads are needed at some point. Any Unix (and unix-like) system creates a new thread (inside a new process) when starting an application (duplicating the current process with fork(), then replacing the code of the child process with the code of the application you want tu run with exec()). I don't think there is another way. Matthieu -- (~._.~) Matthieu Weber - Universit� de Jyv�skyl� (~._.~) ( ? ) email : [EMAIL PROTECTED] ( ? ) ()- -() public key id : 452AE0AD ()- -() (_)-(_) "Humor ist, wenn man trotzdem lacht (Germain Muller)" (_)-(_) ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
