mirror of https://github.com/ericonr/sndio.git
backout last
This commit is contained in:
parent
283aab28b0
commit
2b5ee784cb
|
@ -442,12 +442,10 @@ filelist_init(void)
|
||||||
it.it_interval.tv_usec = TIMER_USEC;
|
it.it_interval.tv_usec = TIMER_USEC;
|
||||||
it.it_value.tv_sec = 0;
|
it.it_value.tv_sec = 0;
|
||||||
it.it_value.tv_usec = TIMER_USEC;
|
it.it_value.tv_usec = TIMER_USEC;
|
||||||
#if 0
|
|
||||||
if (setitimer(ITIMER_REAL, &it, NULL) < 0) {
|
if (setitimer(ITIMER_REAL, &it, NULL) < 0) {
|
||||||
perror("setitimer");
|
perror("setitimer");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
timo_init();
|
timo_init();
|
||||||
log_sync = 0;
|
log_sync = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -374,9 +374,7 @@ siofile_run(void *arg)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (!(f->events & POLLIN)) {
|
if (!(f->events & POLLIN)) {
|
||||||
siofile_log(f);
|
siofile_log(f);
|
||||||
log_puts(": recording, but POLLIN not set: ");
|
log_puts(": recording, but POLLIN not set\n");
|
||||||
log_putx(f->events);
|
|
||||||
log_puts("\n");
|
|
||||||
panic();
|
panic();
|
||||||
}
|
}
|
||||||
if (f->rused < d->round) {
|
if (f->rused < d->round) {
|
||||||
|
|
Loading…
Reference in New Issue