mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
Don't log blocked read or write.
This commit is contained in:
parent
3ede574e2e
commit
105937ab11
@ -354,11 +354,6 @@ dev_sio_run(void *arg)
|
||||
n = sio_read(d->sio.hdl, data, d->sio.todo);
|
||||
d->sio.todo -= n;
|
||||
#ifdef DEBUG
|
||||
if (log_level >= 4 &&
|
||||
n == 0 && data == base && !sio_eof(d->sio.hdl)) {
|
||||
dev_log(d);
|
||||
log_puts(": read blocked at cycle start\n");
|
||||
}
|
||||
if (log_level >= 4) {
|
||||
dev_log(d);
|
||||
log_puts(": read ");
|
||||
@ -438,11 +433,6 @@ dev_sio_run(void *arg)
|
||||
n = sio_write(d->sio.hdl, data, d->sio.todo);
|
||||
d->sio.todo -= n;
|
||||
#ifdef DEBUG
|
||||
if (log_level >= 3 &&
|
||||
n == 0 && data == base && !sio_eof(d->sio.hdl)) {
|
||||
dev_log(d);
|
||||
log_puts(": write blocked at cycle start\n");
|
||||
}
|
||||
if (log_level >= 4) {
|
||||
dev_log(d);
|
||||
log_puts(": wrote ");
|
||||
|
Loading…
Reference in New Issue
Block a user