#include <cstddef>
#include <string>
#include "device/device.hpp"
#include "device/device_default.hpp"
#include "device/device_cold.hpp"
#include <boost/scope_exit.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/recursive_mutex.hpp>
#include "cryptonote_config.h"
#include "trezor.hpp"
Go to the source code of this file.
◆ TREZOR_AUTO_LOCK_CMD
| #define TREZOR_AUTO_LOCK_CMD |
( |
| ) |
|
Value: \
boost::lock(device_locker, command_locker); \
\
boost::lock_guard<boost::recursive_mutex> lock1(device_locker, boost::adopt_lock); \
boost::lock_guard<boost::mutex> lock2(command_locker, boost::adopt_lock)
Definition at line 50 of file device_trezor_base.hpp.
◆ TREZOR_AUTO_LOCK_DEVICE
| #define TREZOR_AUTO_LOCK_DEVICE |
( |
| ) |
boost::lock_guard<boost::recursive_mutex> lock1_device(device_locker) |