RE: mutex locking pgrp

2001-08-09 Thread John Baldwin
On 08-Aug-01 Evan Sarmiento wrote: Hello, I was looking through kern_proc.c, and I noticed that unlike pfind, pgfind does not lock the pointer to a structure being returned, further investigating showed that the definition fo the pgrp structure itself, in proc.h, doesn't have a mtx struct

mutex locking pgrp

2001-08-08 Thread Evan Sarmiento
Hello, I was looking through kern_proc.c, and I noticed that unlike pfind, pgfind does not lock the pointer to a structure being returned, further investigating showed that the definition fo the pgrp structure itself, in proc.h, doesn't have a mtx struct defined within it either. My proposal is