unregister external thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As I wrote before, I always use similar code. It worked fine in version
1.0 rc 2, but doesn't work in 1.0.1

 

BR,

Ilya

________________________________

From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Ponik Supapupa
Sent: Monday, April 27, 2009 9:57 AM
To: pjsip list
Subject: Re: unregister external thread

 

 

 

I had the similar problem time ago, but it truly said me a truth :) - i
had external thread using (no pj_thread). Solution was to register this
thread, something like:

 

//register this thread in the pj space
  pj_thread_desc desc;
  pj_thread_t* this_thread;
  pj_thread_register("ExampleThread", desc, &this_thread);

in the thread function i use (for ex. void ExampleThread();)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090427/b94c0ae2/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux