Re: [9fans] port/allocb.c question
I think it's just the idiom we adopted when we added reference counting.
Re: [9fans] port/allocb.c question
>Is there any reason a locked increment is being used? good question. i thought it might be a new tradition. i don't think it's needed.
[9fans] port/allocb.c question
Hi, In _allocb() in port/allocb.c, there is an _xinc(&b->ref) on a long inside the Block header. No one else ought have a pointer to this block yet, seeing as its not done being allocated. Is there any reason a locked increment is being used? -- vs