raw_mtx_grp = lck_grp_alloc_init("rawcb", raw_mtx_grp_attr);
raw_mtx_attr = lck_attr_alloc_init();
raw_mtx_grp = lck_grp_alloc_init("rawcb", raw_mtx_grp_attr);
raw_mtx_attr = lck_attr_alloc_init();
if ((raw_mtx = lck_mtx_alloc_init(raw_mtx_grp, raw_mtx_attr)) == NULL) {
printf("raw_init: can't alloc raw_mtx\n");
return;
if ((raw_mtx = lck_mtx_alloc_init(raw_mtx_grp, raw_mtx_attr)) == NULL) {
printf("raw_init: can't alloc raw_mtx\n");
return;