Search Results

Search: Posts Made By: mattdj
Forum: Programming 01-03-2016
2,797
Posted By mattdj
Create a group of process
Hi all ! :)

What I want?
1. All child process must be in the same group of process. Parent is a leader of the group.

How to do this? I would be greatfull of some example of code, I read...
Forum: Programming 12-31-2015
3,708
Posted By mattdj
Thank you very much ! However I have to do this...
Thank you very much ! However I have to do this part of work with signals.. next chapter will be pipe... Anyhow I will trying to clean code just a little bit, remove printf - unsafe method, write...
Forum: Programming 12-31-2015
3,708
Posted By mattdj
THX for ansewer, mate ! Ok, so: I have to...
THX for ansewer, mate !

Ok, so: I have to have some random numbers - Can I do that better? (1)
Second - I try to block SIGUSR1 -I will be grateful if you could tell if I do this in the right...
Forum: Programming 12-30-2015
3,708
Posted By mattdj
Nanosleep in signal call
Hi @ll :)

I have a problem with my code but first a short description:

1. I have one signal call SIGUSR1
2. In the signal I try to use nanosleep and now:

When I put kill -SIGUSR1 pid -->...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 06:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy