Skip to content

Commit

Permalink
* Crt: Don't expose missing lock APIs.
Browse files Browse the repository at this point in the history
Why do you even need it? It's not like a user program can create threads..
  • Loading branch information
iProgramMC committed Dec 27, 2023
1 parent e2e7d6c commit 1b90777
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crt/include/nanoshell/lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

#include <nanoshell/lock_types.h>

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

0 comments on commit 1b90777

Please sign in to comment.