[Mammoth] Move Mutex and Semaphore to a separate folder.

This commit is contained in:
Drew Galbraith 2023-11-22 13:45:04 -08:00
parent ad5b55bf37
commit f1cbfd18b7
7 changed files with 6 additions and 6 deletions

View File

@ -7,11 +7,11 @@ add_library(mammoth STATIC
src/debug.cpp
src/init.cpp
src/memory_region.cpp
src/mutex.cpp
src/new.cpp
src/process.cpp
src/semaphore.cpp
src/thread.cpp
sync/mutex.cpp
sync/semaphore.cpp
)
target_include_directories(mammoth

View File

@ -1,4 +1,4 @@
#include "mammoth/mutex.h"
#include "sync/mutex.h"
#include <zcall.h>

View File

@ -1,4 +1,4 @@
#include "mammoth/semaphore.h"
#include "sync/semaphore.h"
#include <zcall.h>

View File

@ -2,7 +2,7 @@
#include <mammoth/memory_region.h>
#include <mammoth/response_context.h>
#include <mammoth/semaphore.h>
#include <mammoth/sync/semaphore.h>
#include <stdint.h>
#include "ahci/ahci.h"

View File

@ -4,7 +4,7 @@
#include <glacier/memory/shared_ptr.h>
#include <glacier/memory/unique_ptr.h>
#include <glacier/status/error_or.h>
#include <mammoth/semaphore.h>
#include <mammoth/sync/semaphore.h>
#include <mammoth/thread.h>
#include <victoriafalls/victoriafalls.yunq.client.h>