| 119 | |
| 120 | #ifndef FSTACK |
| 121 | static __inline int |
| 122 | TQ_SLEEP(struct taskqueue *tq, void *p, const char *wm) |
| 123 | { |
| 124 | if (tq->tq_spin) |
| 125 | return (msleep_spin(p, (struct mtx *)&tq->tq_mutex, wm, 0)); |
| 126 | return (msleep(p, &tq->tq_mutex, 0, wm, 0)); |
| 127 | } |
| 128 | #else |
| 129 | #define TQ_SLEEP(a, b, c) break; |
| 130 | #endif |
no outgoing calls
no test coverage detected