From kde-devel Tue Jul 30 20:58:24 2002 From: Pupeno Date: Tue, 30 Jul 2002 20:58:24 +0000 To: kde-devel Subject: dcop service and multithreading X-MARC-Message: https://marc.info/?l=kde-devel&m=102806299328618 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm new to dcop and an absolutly newbie to multithreading so I may be total= ly=20 wrong in my aproach, please correct me... (I may not need multithreading at= =20 all). I need to perform to tasks at the same time and that's why I think I need=20 multithreading. One is being a dcop service, 'listeting' to posible calls, when a call=20 arrives, the data is procesed and add to some lists (the shared data), this= =20 could be the list of text to speech or list of commands to run (play, pause= ,=20 stop, back, next, etc, etc). And the other part would be in charge of procesing the lists, in a continue= s=20 loop, checking all the time if new data is there and when it's there, it wi= ll=20 be processed (spoken). So, would it be right to have two threads for this ? Making two class, one the dcop service and the other one the processing cla= ss,=20 isntantiate both and run both ? Thank you. =2D --=20 Pupeno: pupeno@pupeno.com http://www.pupeno.com =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Rv3yLr8z5XzmSDQRAqZEAKDYDDOqXNiwyyBfrLlnOIbOsrDzkgCgzw3q GSb5zxWRecpjTrh1g52YlKo=3D =3DVj9D =2D----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<