mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 08:59:07 +00:00
feat(thread): add missing ctor/dtor to CSRWLock
This commit is contained in:
parent
8ba9a76bde
commit
048dab15cd
4 changed files with 34 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ class SRWLock {
|
|||
// Static functions
|
||||
static void SUNNLockEnter(volatile SUNNLOCK* sunnlock);
|
||||
static void SUNNLockLeave(volatile SUNNLOCK* sunnlock);
|
||||
static void SURWLockInitialize(volatile SURWLOCK* surwlock);
|
||||
static void SURWLockDelete(volatile SURWLOCK* surwlock);
|
||||
static void SURWLockEnter(volatile SURWLOCK* surwlock, int32_t forwriting);
|
||||
static void SURWLockLeave(volatile SURWLOCK* surwlock, int32_t fromwriting);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue