SRX87 clarification

Brad Karp <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
I wrote:

>        /*
>         * Wait until arp entries can be handled.
>         */
>        while (time_second == 0)
>                tsleep(&time_second, PZERO + 8, "arpkludge", 10);
>
> This tsleep() never returns!

That may not be totally accurate: a printf() after this while loop is never
executed. So there are two possibilities: either a single call to tsleep()
never returns, or the while loop never terminates.

I suspect that clock interrupts are an essential part of tsleep's timeout
mechanism, so perhaps I'm right that it's the former (single call to tsleep()
never returns).

But either way, the cause would be no clock interrupts are being delivered...

-Brad, [email protected]

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.