RE: mtx_destroy() and MTX_COLD

2001-01-04 Thread John Baldwin
On 05-Jan-01 Kazutaka YOKOTA wrote: > In order to declare a mutex which will be used before malloc(9) > becomes available in the kernel, MUTEX_DECLARE() should be used, then > it should be initialized by passing the MTX_COLD flag to mtx_init(), > so that a statically allocated buffer will be used

mtx_destroy() and MTX_COLD

2001-01-04 Thread Kazutaka YOKOTA
In order to declare a mutex which will be used before malloc(9) becomes available in the kernel, MUTEX_DECLARE() should be used, then it should be initialized by passing the MTX_COLD flag to mtx_init(), so that a statically allocated buffer will be used, instead of malloc()ing a buffer, right? Wi