mirror of
https://github.com/latentPrion/libspinscale.git
synced 2026-06-23 19:48:32 +00:00
20 lines
336 B
C++
20 lines
336 B
C++
#ifndef SHARED_RESOURCE_GROUP_H
|
|
#define SHARED_RESOURCE_GROUP_H
|
|
|
|
namespace sscl {
|
|
|
|
template <typename LockType, typename ResourceType>
|
|
class SharedResourceGroup
|
|
{
|
|
public:
|
|
SharedResourceGroup() = default;
|
|
~SharedResourceGroup() = default;
|
|
|
|
LockType lock;
|
|
ResourceType rsrc;
|
|
};
|
|
|
|
} // namespace sscl
|
|
|
|
#endif // SHARED_RESOURCE_GROUP_H
|