From 1b90777d80ef8917385b9fc4a34fed659c8c54ea Mon Sep 17 00:00:00 2001 From: iProgramInCpp Date: Wed, 27 Dec 2023 13:06:53 +0200 Subject: [PATCH] * Crt: Don't expose missing lock APIs. Why do you even need it? It's not like a user program can create threads.. --- crt/include/nanoshell/lock.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crt/include/nanoshell/lock.h b/crt/include/nanoshell/lock.h index 57da06d6..cc362a79 100644 --- a/crt/include/nanoshell/lock.h +++ b/crt/include/nanoshell/lock.h @@ -6,7 +6,8 @@ #include -void LockAcquire (SafeLock *pLock); -void LockFree (SafeLock *pLock); +// These APIs are not implemented in user mode: +// void LockAcquire (SafeLock *pLock); +// void LockFree (SafeLock *pLock); #endif//_NANOSHELL_LOCK__H