Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dpoll_windows.c85 static volatile LONG compat_spinlock = 0; variable
159 while (InterlockedExchange((LONG *)&compat_spinlock, 1) == 1) { in init_polling()
172 InterlockedExchange((LONG *)&compat_spinlock, 0); in init_polling()
227 while (InterlockedExchange((LONG *)&compat_spinlock, 1) == 1) { in exit_polling()
252 InterlockedExchange((LONG *)&compat_spinlock, 0); in exit_polling()