need multi thread programming tutorial...

hello everyone.
i wanted to do a multi thread programming. but i am unknown about it. i did some example. but i did not get what i want.
can anyone give me a code with its function demonstration on multi threading?

like creating a digital clock, running 3 thread to process hour, minute and second. its good to do it in simple way, but just to understand how to do programming in multi thread.
Thank you
closed account (N85iE3v7)
If you are at Windows:

http://msdn.microsoft.com/en-us/library/y6h8hye8%28VS.80%29.aspx
You'd better use the boost threading library: it's in C++ ( not C ), it's cross platform and it will be included in the next version of C++
http://www.boost.org/doc/libs/1_43_0/doc/html/thread.html
Topic archived. No new replies allowed.