refactored main; monitoring & scheduling not done yet

This commit is contained in:
Semere M. Mebrahtom 2026-03-26 10:54:24 +01:00
parent 7748a53eb2
commit f08c635390
Signed by: semere
GPG key ID: 7FC937214DF30488
4 changed files with 93 additions and 77 deletions

View file

@ -6,8 +6,8 @@ INCLUDES = coders/codexion.h
OBJS = $(SRCS:.c=.o)
CC = cc
CFLAGS = -Wall -Wextra -Werror -pthread
# CFLAGS = -Wall -Wextra -Werror -pthread -g -fsanitize=thread
# CFLAGS = -Wall -Wextra -Werror -pthread -g
CFLAGS = -Wall -Wextra -Werror -pthread -g -fsanitize=thread
all: $(NAME)
@ -27,7 +27,7 @@ $(NAME): $(OBJS)
# scheduler
test: $(NAME)
./$(NAME) 2 800 200 100 10 5 0 edf
./$(NAME) 2 800 200 100 10 3 0 edf
test-val: $(NAME)
valgrind --leak-check=full --show-leak-kinds=all ./$(NAME) 2 800 200 100 10 5 0 edf