latest SDK

This commit is contained in:
2021-12-14 00:28:25 -07:00
commit 68b10d413b
492 changed files with 80542 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
#include <functional>
namespace ThreadUtils {
class CRethrow {
private:
std::function<void () > m_rethrow;
public:
bool exec( std::function<void () > f ) throw();
void rethrow() const;
bool didFail() const { return !! m_rethrow; }
void clear() { m_rethrow = nullptr; }
};
}