For example, struct xxstate *xsp; ... mutex_init(&xsp->mu, NULL, MUTEX_DRIVER, NULL); ... For a more complete example of mutex initialization, see Chapter 5 ...
確定! 回上一頁