Ticket #44 (closed improvement: resolved)
pc::sync::stack should provide public interface for protector
| Reported by: | niam | Owned by: | niam |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.0 |
| Component: | Version: | ||
| Severity: | feature | Keywords: | |
| Cc: |
Description
pc::sync::stack should provide public interface for protector to provide easy tool for locking the stack using existing section lock instance.
As follows:
section keeper;
{
pc::sync::stack::protector(keeper);
}
on entering the block 'keeper' becomes locked, on stack unwinding 'keeper' becomes unlocked.
Note: See
TracTickets for help on using
tickets.

resolved issue #44: pc::sync::protector is a public interface that wraps pc::(process|thread)::section (changeset: 1161:636acc108cd9)