Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dusb_linux_client.c37 adb_mutex_t lock; member
52 adb_mutex_lock(&usb->lock); in usb_open_thread()
54 adb_cond_wait(&usb->notify, &usb->lock); in usb_open_thread()
55 adb_mutex_unlock(&usb->lock); in usb_open_thread()
121 adb_mutex_init(&h->lock, 0); in usb_init()
144 adb_mutex_lock(&h->lock); in usb_kick()
150 adb_mutex_unlock(&h->lock); in usb_kick()
Dsysdeps.h53 static __inline__ void adb_mutex_lock( adb_mutex_t* lock ) in adb_mutex_lock() argument
55 EnterCriticalSection( lock ); in adb_mutex_lock()
58 static __inline__ void adb_mutex_unlock( adb_mutex_t* lock ) in adb_mutex_unlock() argument
60 LeaveCriticalSection( lock ); in adb_mutex_unlock()