Adding a No-op task executor for testing

Fixing DFS implementation of DAG validation to be much faster
Adding in additional tests to ensure the run order of expanded tasks is preserved
Adding additional compile-time checks, resolving issues that came up as a result
This commit is contained in:
Ian Roddis committed 2021-09-20 19:05:56 -03:00
1 parent 2daaa83d82
commit 39d5ae08be
14 files changed
+187 -113

No files matched your search

+2 -1
View File
@@ -95,7 +95,8 @@ void daemonize() {
/* Change the working directory to the root directory */
/* or another appropriated directory */
chdir("/");
auto rc = chdir("/");
(void)rc;
/* Close all open file descriptors */
for (auto x = sysconf(_SC_OPEN_MAX); x >= 0; x--) { close(x); }