DPC++ Runtime
Runtime libraries for oneAPI DPC++
spinlock.hpp File Reference
#include <sycl/detail/defines.hpp>
#include <atomic>
#include <thread>
Include dependency graph for spinlock.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sycl::_V1::detail::SpinLock
 SpinLock is a synchronization primitive, that uses atomic variable and causes thread trying acquire lock wait in loop while repeatedly check if the lock is available. More...
 

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::detail