Acquisition.Relinquish() should be private
Relinquish()
on the Acquisition
interface should be private.
I remember Acquisition
used to be a struct, and I can't remember whether Relinquish()
was private there or not, and whether it had to be for some testing scenario when converted to an interface, but ideally, it shouldn't be exposed to the public API.
Only taskscaler.Release()
should be able to call Relinquish
.