code clean
This commit is contained in:
@@ -43,7 +43,7 @@ void *customFunction1(void *n) {
|
||||
while (1) {
|
||||
sleep(1);
|
||||
} // never return, keep stack
|
||||
return NULL;
|
||||
// return NULL;
|
||||
} else {
|
||||
printf("Calling customFunction2\n");
|
||||
customFunction2(num-1);
|
||||
@@ -59,7 +59,7 @@ void customFunction2(int n) {
|
||||
while (1) {
|
||||
sleep(1);
|
||||
} // never return, keep stack
|
||||
return NULL;
|
||||
// return NULL;
|
||||
}
|
||||
customFunction3(n-1);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ void customFunction3(int n) {
|
||||
while (1) {
|
||||
sleep(1);
|
||||
} // never return, keep stack
|
||||
return NULL;
|
||||
// return NULL;
|
||||
}
|
||||
customFunction2(n-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user