python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
C: Storing Child process id in another array but not working
I am trying to make an array that stores all the Child process id, and then use them later, however it doesn't seem like working.
int numChild = 3;
int childPid[numChild+1];
int childPid2[numChild+1];...

Chocode
Votes: 0
Answers: 0
Open a File in with shell script in application without new instance?
I've got a picture converting tool for ubuntu which opens a window, where you can drag-and-drop a jpeg and automatically convert it in to a .wepb file.
This tool was written for the company that I wor...
Xerox
Votes: 0
Answers: 1
Erlang - How is the creation integer (a part of a distributed pid representation ) actually created?
In a distributed Erlang system pids can have two different representations: i) internal; ii) external.
The internal representation has the following shape: < A.B.C >
The external representation,...

Giovanni Fabbretti
Votes: 0
Answers: 1
How many process and thread does this code create?
int main( ) {
pid t pid1, pid2;
pid1 = fork ( );
pid2 = fork ( );
if (pid1 == 0) { /* child process */
pthread_create (. . .);
}
if (pid2 > 0) { /* parent process */
pthread_cre...
goxarad784
Votes: 0
Answers: 0