Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > Re: Thread
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 24974 of 28006
Post > Topic >>

Re: Thread

by Randy Howard <randyhoward@[EMAIL PROTECTED] > Mar 17, 2008 at 03:43 AM

On Sun, 16 Mar 2008 11:39:06 -0500, jacob navia wrote
(in article <frjifi$r7h$1@[EMAIL PROTECTED]
>):

> hava****oda wrote:
>> Hi, sorry for my simple question... but i'm new with the C
>> programming.
>> Can I consider the main () as a thread?
>> Thanks
> 
> Yes, normally, when threads are sup****ted by the OS, main() runs
> in its own thread.

This is certainly true with Posix threads, but I'm an not sure if it is 
true of all thread models.

Either way, comp.programming.threads is probably a good place to ask 
such questions, as standard C doesn't include any threading model.


-- 
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those 
 who have not got it."  - George Bernard Shaw
 




 8 Posts in Topic:
Thread
havanakoda <andreavian  2008-03-16 09:33:05 
Re: Thread
jacob navia <jacob@[EM  2008-03-16 17:39:06 
Re: Thread
Randy Howard <randyhow  2008-03-17 03:43:47 
Re: Thread
jacob navia <jacob@[EM  2008-03-17 07:59:39 
Re: Thread
Jack Klein <jackklein@  2008-03-16 12:14:51 
Re: Thread
Ulrich Eckhardt <dooms  2008-03-16 18:36:40 
Re: Thread
Ian Collins <ian-news@  2008-03-17 07:45:25 
Re: Thread
havanakoda <andreavian  2008-03-17 07:13:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Nov 21 12:18:14 CST 2008.