HomeFreeBSD

ow_temp: better scopes for the lock

Description

ow_temp: better scopes for the lock

The lock is used only for start / stop signaling.
It is used only for 'flags' field and the related condition variable.

This change is a follow-up to r354067, it was suggested by Warner in
D22107.

Suggested by: imp
MFC after: 1 week

Details

Provenance
avgAuthored on
Parents
rS354067: ow_temp: drop the lock around a call that can sleep
Branches
Unknown
Tags
Unknown