Chapter #4 - Section 4.2 - Using confinement to ensure thread-safety