Ah, I believe this is because I need to register the thread. Is there an example on how to fill out the pj_thread_t? I created the thread using webrtc.org's abstraction layer so I'm not sure how to fill out the struct. On Mon, Sep 21, 2015 at 4:05 PM, Mike Roberts <mike at switch.co> wrote: > Hey all, > > I'm trying to create a separate thread to poll pjsip_endpt_handle_events > but I get an error at PJ_CHECK_STACK when I first call that function from > the thread. I create the thread after I've initialized that library as best > I can tell, is there some other limitation here? > > Thanks, > Mike > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150921/08f7a382/attachment.html>