Talk About Network

Google





Programming > C - C++ Learning > Re: Can Anyone ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 4063 of 4400
Post > Topic >>

Re: Can Anyone Suggest a Good Tutorial on Threads?

by =?ISO-8859-1?Q?Andr=E9_Castelo?= <andrecastelo@[EMAIL PROTECTED] > Mar 17, 2008 at 01:25 PM

Well, you can handle posix threads with the pthread.h library, but
that is in C, so you would need to create some cl***** to fully "****t"
it to C++. So basically, you should google pthread.h (not that hard to
find).

A little googling returns
http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html

On 11 mar, 11:39, Hal Vaughan <h...@[EMAIL PROTECTED]
> wrote:
> 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
 




 4 Posts in Topic:
Can Anyone Suggest a Good Tutorial on Threads?
Hal Vaughan <hal@[EMAI  2008-03-11 14:39:53 
Re: Can Anyone Suggest a Good Tutorial on Threads?
=?ISO-8859-1?Q?Andr=E9_Ca  2008-03-17 13:25:36 
Re: Can Anyone Suggest a Good Tutorial on Threads?
Bart van Ingen Schenau &l  2008-03-18 19:44:56 
Re: Can Anyone Suggest a Good Tutorial on Threads?
"AnonMail2005@[EMAIL  2008-03-17 14:58:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 13:44:55 PST 2009.