How could you programmatically enable/disable threads? And how do the threads pass messages to one another? For example, I'd like to make a GUI application that displays data coming from the serial port or from can bus.. so a total of three threads : GUI, Serial, Can-Bus. However, while the GUI thread is always active, I'd like if the user to enable/disable the serial and can-bus interfaces. But how would the GUI thread send a message to the Serial thread to tell it to Stop/Re-Init/Start? Similarly, how does the Serial thread send a message to the GUI telling it to display some data?
How could you programmatically enable/disable threads? And how do the threads pass messages to one another?
For example, I'd like to make a GUI application that displays data coming from the serial port or from can bus.. so a total of three threads : GUI, Serial, Can-Bus.
However, while the GUI thread is always active, I'd like if the user to enable/disable the serial and can-bus interfaces.
But how would the GUI thread send a message to the Serial thread to tell it to Stop/Re-Init/Start? Similarly, how does the Serial thread send a message to the GUI telling it to display some data?
whats the VS theme?
just want to ask why should we use the win32api version of the same thing that already exists in std. im just curious and want to know your opinion
for educational purposes, just to know how it works under the hood on windows. But obviously, you are right, there is absolutely no sense.
@@isnastish well that is a valid reason! Learning is important :D
1080p please
It will come later eventually, you would have to wait for a bit.
My bad, I will schedule videos from now on.