[Asterisk-Dev] Dev call 1.2 release discussion
Kristian Nielsen
kn at sifira.dk
Tue May 10 01:20:38 MST 2005
Tzafrir Cohen <tzafrir.cohen at xorcom.com> writes:
> It appears there's nothing much to do about that. Unless someone can
> suggest and code a useful userspace timing source, the problem is here
> to stay for a while
Is there anything more to it that a thread that does something like this:
struct pollfd fds[1];
for(;;) {
int timeout = ast_sched_wait(sched);
poll(fds, 0, timeout);
ast_sched_runq(sched);
}
with appropriate handlers set up with ast_sched_add()? I guess there
must be since it is a problem, so can anyone explain the issues?
- Kristian.
--
Kristian Nielsen kn at sifira.dk
Development Manager, Sifira A/S
More information about the asterisk-dev
mailing list