|
-
Jun 18th, 2014, 08:25 AM
#5
Re: Lots of messages to be parsed in lots of threads?
 Originally Posted by opus
TPL, to my understanding, does not solve my problem.
Presently my UDP-Listener raises an event on the GUI, the GUI holds the "Parse_Message" Sub.
That is conviniet since the GUI-Thread is "alive", however I'd like to raise an event and have a seperate thread react on that. But how can I start a thread that just waits for specific events?
By passing an instance of the object of said class to this thread and loop/wait and handle according when the even is raised. I think JMC has an example in the code bank waiting(pausing)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|