newStatus value is 0 every run like it's suppose to, when the signal is sent the other 2 processes terminate but this process lingers for exactly 12 runs until eventually the newStatus becomes 1 which means it received the signal then it terminates itself.
As for how stuff being taken out of...
If I were to describe what data structure I pipe is I would say it would be an array in which the contents of a certain index points to either where stdout and stdin is or used to be?
The number of extra runs seem to be consistent in the amount, and I also did notice it changes when I change...
Hello,
1. Homework Statement
I am to implement a program where the parent process creates three child processes each running their own specific code, child 1 will be running a wallclock, child 2 will be a file manager and child 3 will be the countdown timer and is also the signaler. Child 1...
I have another question, and since it is related to this program I'll just ask it here.
My problem now is with implementing the 3rd child to run an execl command continuously until it reads the signal to terminate from the pipe. From what I understand is when it runs an execl command, it runs...
Thanks for your reply, but it did not solve the solution. However, I did find a solution on google but I am not understanding why it is working all of a sudden, maybe you can explain. So I think the problem was with how I was waiting for the children, I guess it seemed like the child processes...
Hey everybody, I am having trouble with working with child processes. I am to implement a parent process creating 2 child processes to each run different code. e.g child 1 is a wallclock and child 2 is a countdown program. I also have to implement a pipe for when child 2, the countdown program...
Hi PF,
I have been currently pursuing a degree in Computer Science to hopefully end up having a career as a software engineer, as I am taking classes I am finding that the assignments are getting more and more difficult to a point where I find myself lost and in need of guidance. Which got me...
Noted! Sorry about that, got too excited.. But I do have one last question regarding the 1st problem I asked about... I got
Noted! Sorry about that, got too excited. But I do have one last question regarding the first problem I posted. I was to find the correlation coefficient and tell if it...
Ok, great! It was driving me crazy-- what a relief. :biggrin:
Moving on... I had another question for a different problem. By hand, calculate the standard deviation of the residuals.
For the least square line I got:
y = 284.5/114x - 1.1
I know the residuals equation is e = y - y hat... but I'm...