문제

pget(9) documents the PGET_HOLD flag to mean

PGET_HOLD If set, the found process will be held and unlocked.

and

For the PGET_HOLD case, it is returned unlocked (but held).

What does it mean for a process to be held but unlocked?

도움이 되었습니까?

해결책

The sys/proc.h describes "holding" a process as holding its U-area in memory. See definition for PHOLD() and PRELE() macros, at http://fxr.watson.org/fxr/source/sys/proc.h#L755.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top