As I mentioned in another post, I'm brand new to C++ but used to Java and
Perl. The program I'm working on will need to fork a thread and that
thread will be reading anything that comes in from the serial ****t and
storing incoming information in other variables that can be accessed
elsewhere. I also want to be able to stop that extra thread when it's
time
by changing a boolean to tell it to stop running.
Can anyone recommend a good tutorial on threads in C++? I'd like to know
about starting, stoping, and sharing variables with other threads. While
I
haven't used pointers (none in Java!), if I need to use pointers for
memory
locations instead of variables, I think I can deal with that.
Thanks!
Hal