top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How come background process know its own PID?

0 votes
263 views
How come background process know its own PID?
posted Apr 3, 2015 by Amit Kumar Pandey

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+4 votes

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

+2 votes

How a background process is treated by operating system ?

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.

+1 vote

N numbers of UEs can be scheduled at a particular TTI. So How does an UE get to know its own DCI ?

...