On Sun, 16 Mar 2008 09:33:05 -0700 (PDT), havanakoda
<andreavianello @gmail.comwrote in comp.lang.c:
Hi, sorry for my simple question... but i'm new with the C
programming.
Can I consider the main () as a thread?
Thanks
main() is the function at which a C program begins execution, after
implementation-specific operations that are specific to the compiler
and environment.
It has nothing at all to do with threads. Threads are not defined or
supported by the C language. Anything to with threads is an extension
supported by a specific operating system and compiler combination.
For information about threads, you need to ask in a group that
supports your particular operating system/compiler combination, or
perhaps a group like news:comp.progr amming.threads.
Comment