I am very new to C# and am writing a program that needs a Form with some controls and 2 other separate threads that run continuously and talk to each other.
this example has worked really well for me in a similar application in Python in the past and I understand it well, so I would like to bring it over to C# if possible. I am stuck at how to share the q object between the two classes. Can anyone point me in the right direction?...
Search Result
Collapse
3 results in 0.0014 seconds.
Keywords
Members
Tags
-
Solution for handling boost::thread with member functions
I'm using VC++ 2010 with Boost 1.43.
I've just created a class that uses winsock to handle network communication. Now there's a method called "fillQueue" which is defined like this:
Problem is, the method enters an infinite while loop which fills the NetworkQueue with data. So it needs to be in an extra thread. The NetworkQueue class itself is already thread...Code:void fillQueue(NetworkQueueTS& nq);
-
Having two components running concurrently
Hello
I try to run two components on the same form. One component is a scrolling message and the second is the mediaplayer.
Whenever the media player starts to play, it consumes too much resources so the messages stop scrolling.
Any idea?
Thanks
Eli