What does Thread local storage mean in pjsip ?

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

 



Why do we need to register external thread to pjlib ?


On Thu, Jul 25, 2013 at 10:40 AM, Khoa Pham <onmyway133 at gmail.com> wrote:

> I see that (at least for Win32 platform) that for a thread to access
> pjlib, it needs to register itself to pjlib.
>
> It means that that thread's pj_thread_t structure needs to be TlsSetValue
> to a Tls slot. Why is that? What does that mean?
>
> --
> Khoa Pham
> HCMC University of Science
> www.fantageek.com
>



-- 
Khoa Pham
HCMC University of Science
www.fantageek.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130726/379fe00d/attachment-0001.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