#include "work_bound.h"
Public Member Functions | |
virtual bool | TryToWork ()=0 |
virtual void | WorkComplete ()=0 |
A WorkBound represents permission to do work bounded by some upper bound. Roughly speaking we can represent this as a bounded shared counter, but how we realize the counter implementation must vary from system to system.