Home
last modified time | relevance | path

Searched refs:TryLock (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/inc/
Dtrylock.h27 struct TryLock { struct
31 #define TRYLOCK_DECL_STATIC(name) struct TryLock name argument
34 void trylockInit(struct TryLock *lock);
35 void trylockRelease(struct TryLock *lock);
36 bool trylockTryTake(struct TryLock *lock); //true if we took it
/device/google/contexthub/firmware/os/core/
Dtrylock.c21 void trylockInit(struct TryLock *lock) in trylockInit()
26 void trylockRelease(struct TryLock *lock) in trylockRelease()
31 bool trylockTryTake(struct TryLock *lock) in trylockTryTake()