top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

OS: How can make sure process creation is more expensive that thread creation ?

+2 votes
80 views
OS: How can make sure process creation is more expensive that thread creation ?
posted Jun 23, 2014 by Rupam

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
AFAIK process creation is always more expensive then thread creation (except in Java though not sure)

Similar Questions
+4 votes

So many times, we make foreground process to background process in linux system. How does it handle internally ?

0 votes
while(true)
{
  sleep(1); /* sleep for 1 second */
  if(getpid()%2 == 0)
  {
     fork();
  }
}

How many no.of processes are created by the end of 12th second, if
time starts from 0th second? Process id's start from 0.

0 votes

Can someone please explain using any example ?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...