File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
5_Processes_Signals_Files_Pipes/1_Processes Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 7
7
#define CHILDS_NUMBER 10
8
8
#define WORK_DELAY 2
9
9
10
- // /////////////// CHILD
10
+ // ========================= CHILD ==========================
11
11
12
12
int childs_code (int number)
13
13
{
@@ -29,7 +29,7 @@ int childs_code(int number)
29
29
30
30
31
31
32
- // /////////////// FORK
32
+ // ========================= FORK =========================
33
33
34
34
int create_childs ()
35
35
{
@@ -59,8 +59,8 @@ int create_childs()
59
59
60
60
61
61
62
- // /////////////// MAIN PROCESS
63
- // ////////// CHECK
62
+ // ======================= MAIN PROCESS =======================
63
+ // { CHECK }
64
64
65
65
bool check_zombies ()
66
66
{
@@ -96,7 +96,7 @@ bool check_zombies()
96
96
}
97
97
98
98
99
- // ////////// WORK
99
+ // { WORK }
100
100
101
101
void some_work ()
102
102
{
@@ -115,7 +115,7 @@ void some_work()
115
115
}
116
116
117
117
118
- // /////////////// MAIN
118
+ // ======================= MAIN =======================
119
119
120
120
int main ()
121
121
{
You can’t perform that action at this time.
0 commit comments