Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 20-11-2010, 10:49 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2010
Posts: 4
Post Threads in C ???


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.
gkara is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-11-2010, 10:08 AM   #2 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: Threads in C ???

Thread programming examples

https://computing.llnl.gov/tutorials/pthreads/

PThread is the basic API. OpenMP if more advanced and better controlled threads r needed
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2