canonical / pebble

Pebble is a lightweight Linux service manager with layered configuration and an HTTP API.
https://canonical-pebble.readthedocs-hosted.com/
GNU General Public License v3.0
146 stars 54 forks source link

docs: add comments to clarify that WaitNotices releases the state lock #378

Closed benhoyt closed 7 months ago

benhoyt commented 7 months ago

This confused me when I was looking at locking stuff recently -- make it clear that WaitNotices releases the state lock (via the sync.Cond).

benhoyt commented 7 months ago

Simple comment additions, merging without further review.