Skip to content

Commit 1b90777

Browse files
committed
* Crt: Don't expose missing lock APIs.
Why do you even need it? It's not like a user program can create threads..
1 parent e2e7d6c commit 1b90777

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crt/include/nanoshell/lock.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
#include <nanoshell/lock_types.h>
88

9-
void LockAcquire (SafeLock *pLock);
10-
void LockFree (SafeLock *pLock);
9+
// These APIs are not implemented in user mode:
10+
// void LockAcquire (SafeLock *pLock);
11+
// void LockFree (SafeLock *pLock);
1112

1213
#endif//_NANOSHELL_LOCK__H

0 commit comments

Comments
 (0)