Ticket #25 (closed improvement: resolved)

Opened 3 years ago

Last modified 2 years ago

make pc::sync::section functional

Reported by: niam Owned by: niam
Priority: normal Milestone: 0.12.0
Component: Version:
Severity: feature Keywords:
Cc:

Description

Implement pc::sync::section methods to do nothing as unsafe section locker for cases when no locking is needed.

Change History

comment:1 Changed 3 years ago by niam

Maybe it'd be better to init keeper in pc::sync::stack as NULL by default and check inside protector's constructor/destructor whether keeper is NULL or not and to lock if not NULL

comment:2 Changed 3 years ago by niam

No need to do that as pc::sync::protector checks if section is NULL. If NULL nothing is locked.

Note: See TracTickets for help on using tickets.