commit d515351d04f93cb0827f83fdbae193d577ec0c04
parent fc9d5aed7ae940eb2adea64648e9bd00b0d21ad0
Author: Yersa Nordman <yersa@finwo.nl>
Date: Thu, 16 Nov 2023 22:14:13 +0100
Added minor debug prints in fnet_main
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,3 +1,5 @@
/lib/
*.o
/fnet_test
+compile_commands.json
+/.cache/
diff --git a/src/fnet.c b/src/fnet.c
@@ -716,6 +716,8 @@ FNET_RETURNCODE fnet_main() {
struct epoll_event events[8];
+ printf("Epoll enabled: %s\n", epfd ? "yes" : "no");
+
while(runners) {
// Do the actual processing
@@ -749,6 +751,8 @@ FNET_RETURNCODE fnet_main() {
}
}
+ printf("fnet_main finished\n");
+
return FNET_RETURNCODE_OK;
}