Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
spin-wait-for.hpp File Reference

Simple spin lock implementation. More...

#include <chrono>
#include <thread>

Go to the source code of this file.

Namespaces

 utils
 

Functions

template<class Predicate >
bool utils::spinWaitFor (int timeoutMs, Predicate pred)
 

Detailed Description

Simple spin lock implementation.

Author
Jan Olszak (j.ols.nosp@m.zak@.nosp@m.samsu.nosp@m.ng.c.nosp@m.om)