CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2025/05/31 04:24:50
Modified files: sys/kern : kern_lock.c Added files: sys/sys : pclock.h Log message: add producer/consumer locking these provide coordination between code that is producing or updating data, and code that wants a consistent read of that data. it's set up so that the producer can run without being blocked by consumers, however, the consumer will have to retry reading the data if the producer changed it while a consumer was running. ok mvs@ claudio@