[pjsip] pjlib tests

Benny Prijono bennylp at pjsip.org
Sun Apr 13 23:18:19 EDT 2008


On Fri, Apr 11, 2008 at 8:25 PM, Daniel Mikusa <dan at mikusa.com> wrote:
> I'm curious about this message I'm getting when I run the pjlib-test
>  application.
>
>  I'm running this on my powerbook with Mac OS 10.5.
>
>  Doesn't seem like much info, but here's the output generated by the
>  program.
>
>   20:21:16.631 Running sleep_test()...
>   20:21:16.631 ..will write messages every 1 second:
>   20:21:17.631 ...error: pj_thread_sleep(): [pj_status_t=120060]
>  Operation timed out
>   20:21:17.631 ..ERROR(-10)

Error code 120060 comes from the native OS errno 60. Looking at the
pj_thread_sleep() code:

    pj_set_os_error(0);
    usleep(msec * 1000);
    return pj_get_os_error();

So somehow the OS returns errno here, I'm not sure why. Does anybody
else have the same problem?

Cheers
 Benny




More information about the pjsip mailing list