// unko.h
#if !defined(UNKO_H_)
#define UNKO_H_
#include <mutex> // for mutex, unique_lock.
template<typename T>
struct gurobaru_vars
{
static std::mutex unko_lock;
};
template<typename T>
std::mutex gurobaru_vars<T>::unko_lock;
template
struct gurobaru_vars<void>;
inline void f()
{
std::unique_lock<std::mutex> xl(gurobaru_vars<void>::unko_lock);
}
#endif // UNKO_H_
Ly8gdW5rby5oCiNpZiAhZGVmaW5lZChVTktPX0hfKQojZGVmaW5lIFVOS09fSF8KCiNpbmNsdWRlIDxtdXRleD4gICAgCS8vIGZvciBtdXRleCwgdW5pcXVlX2xvY2suCgoKdGVtcGxhdGU8dHlwZW5hbWUgVD4Kc3RydWN0IGd1cm9iYXJ1X3ZhcnMKewoJc3RhdGljIHN0ZDo6bXV0ZXggdW5rb19sb2NrOwp9OwoKdGVtcGxhdGU8dHlwZW5hbWUgVD4Kc3RkOjptdXRleCBndXJvYmFydV92YXJzPFQ+Ojp1bmtvX2xvY2s7Cgp0ZW1wbGF0ZQpzdHJ1Y3QgZ3Vyb2JhcnVfdmFyczx2b2lkPjsKCmlubGluZSB2b2lkIGYoKQp7CglzdGQ6OnVuaXF1ZV9sb2NrPHN0ZDo6bXV0ZXg+IHhsKGd1cm9iYXJ1X3ZhcnM8dm9pZD46OnVua29fbG9jayk7Cn0KCiNlbmRpZiAvLyBVTktPX0hfCgo=