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


|