mirror of
https://github.com/latentPrion/libspinscale.git
synced 2026-06-23 19:48:32 +00:00
Add new Spinscale C++ Coroutine support
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user