mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
15 lines
221 B
C++
15 lines
221 B
C++
#include "shared_resource.h"
|
|
|
|
void SharedResource::lock() {
|
|
_mutex.lock();
|
|
}
|
|
void SharedResource::unlock() {
|
|
_mutex.unlock();
|
|
}
|
|
|
|
SharedResource::SharedResource() :
|
|
Resource() {
|
|
}
|
|
|
|
SharedResource::~SharedResource() {
|
|
} |