added secondary value for 3.16 syntax/data compatiblity.
/* Wait for the next buffer to become available */
bh = fsg->common->next_buffhd_to_fill;
while (bh->state != BUF_STATE_EMPTY) {
/* Wait for the next buffer to become available */
bh = fsg->common->next_buffhd_to_fill;
while (bh->state != BUF_STATE_EMPTY) {
- rc = sleep_thread(fsg->common);
+ rc = sleep_thread(fsg->common, true);
}
/* Wait for something to happen */
}
/* Wait for something to happen */
- rc = sleep_thread(fsg->common);
+ rc = sleep_thread(fsg->common, true);
/* Wait for the next buffer to become available */
bh = fsg->common->next_buffhd_to_fill;
while (bh->state != BUF_STATE_EMPTY) {
/* Wait for the next buffer to become available */
bh = fsg->common->next_buffhd_to_fill;
while (bh->state != BUF_STATE_EMPTY) {
- rc = sleep_thread(fsg->common);
+ rc = sleep_thread(fsg->common, true);