Threads in C ???

gkara

Right off the assembly line
Hi,

If I want to achieve some simultaneous activity through C programming....... say I just want to display the clock in seconds at the bottom of the page while some activity is going on on the page....... how do I achieve it by C ? After all, even Jave in its initial days was developed by C, right? So, how did they achieve the threading by C? Is it something by time-delays......? Anyways, please explain it by a program.

Thank you very much in advance.

Regards,
Guru Charan.
 
Thread programming examples

*computing.llnl.gov/tutorials/pthreads/

PThread is the basic API. OpenMP if more advanced and better controlled threads r needed
 
Top Bottom