Scratch this post: problem solved. Will advise why at a later time. -----Original Message----- From: eclipse-users-bounces+andrew.farrell=hp.com_at_...2... [mailto:eclipse-users-bounces+andrew.farrell=hp.com_at_...2...] On Behalf Of Farrell, Andrew Sent: 11 October 2007 16:18 To: eclipse-users_at_...2... Subject: [eclipse-users] Multithreading Java with eclipse Hi, I essentially want to have an interaction between Java and Eclipse, but they have to be in different threads. When I do single-threaded interaction everything is fine. The QueueListener methods dataAvailable and dataRequest on the Java side are called appropriately when Eclipse tries to write/read data. Good stuff. But, what I really need is to do an EmbeddedEclipse.rpc in one thread, and also specify queue listeners which would also execute in that thread, while other Java logic goes off and does its thing in another thread. I do need to have minimal cross manipulation between threads, that is, queue listeners detached and reattached, and some shared data. But even before I get to this, at the moment, I just create a Runnable and start it in its own Thread, creating queues and queue listeners within the run() method of the Runnable, as well as creating the Eclipse engine within the run() method. So everything to do with the interaction exists in a separate thread from the main thread. Doing this, I get no interaction between eclipse and java in this secondary thread. Any suggestions? Many thanks, Andrew Farrell _______________________________________________ ECLiPSe-Users mailing list ECLiPSe-Users_at_...2... http://www.crosscoreop.com/mailman/options/eclipse-usersReceived on Thu Oct 11 2007 - 16:57:10 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST