March 16th, 2011, 04:36 AM
Fork in thread...
can any one tell me, Suppose a new thread is created, within that thread we use a system call called fork(), if new process contains two threads or one?
April 6th, 2011, 09:12 PM
thread or process ?
New process will be created if fork() system call is used.
Originally Posted by vardhanReddy
to create a new thread in Linux you have to use "pthread_create" function more is available, please Google "POSIX thread (pthread) libraries"