Include sleep into library

This commit is contained in:
Matte23
2024-11-03 15:01:54 +01:00
parent 6d0a60881c
commit ba22538626
5 changed files with 19 additions and 7 deletions

View File

@@ -1,11 +1,13 @@
#include "library.h"
int task2(void) {
puts("Hello World from task 1\n");
puts("Hello World from task 2\n");
sleep(4);
return 0;
}
int task1(void) {
puts("Hello World from task 2\n");
puts("Hello World from task 1\n");
sleep(2);
return 0;
}