Initialised shared_files global hash table, w/ G

This commit is contained in:
sBubshait
2024-11-30 01:23:33 +00:00
parent ba72345f96
commit f4910bdefb
3 changed files with 17 additions and 6 deletions

View File

@@ -134,6 +134,9 @@ thread_start (void)
t))
PANIC ("Failed to initialise child results table for main thread.");
if (!hash_init (&shared_files, shared_file_hash, shared_file_less, NULL))
PANIC ("Failed to initialise shared pages table.");
/* Create the idle thread. */
struct semaphore idle_started;
sema_init (&idle_started, 0);