* Initialize a condition variable. Must be called before use. */
| 74 | * Initialize a condition variable. Must be called before use. |
| 75 | */ |
| 76 | void |
| 77 | cv_init(struct cv *cvp, const char *desc) |
| 78 | { |
| 79 | |
| 80 | cvp->cv_description = desc; |
| 81 | cvp->cv_waiters = 0; |
| 82 | } |
| 83 | |
| 84 | /* |
| 85 | * Destroy a condition variable. The condition variable must be re-initialized |
no outgoing calls
no test coverage detected