How many threads and what are their purposes?

VM
Viacheslav Mikerov
Mon, Apr 24, 2017 11:22 AM

Hi,

I have a simple SIP app (on Linux, interested in other platforms as well)
with one polling thread.
After pjsua create, initialize and start I see 4 more threads are spawned
in my app, one of these has a name 'threaded-ml', others do not have
specific names. These 4 threads live all time.

Unfortunately I was not able to find any helpful information on what, how
many, and/or why pjsua creates threads, except the working thread (I have
only one).
Could someone, please, give me some input on this topic?

Best
Slava

Hi, I have a simple SIP app (on Linux, interested in other platforms as well) with one polling thread. After pjsua create, initialize and start I see 4 more threads are spawned in my app, one of these has a name 'threaded-ml', others do not have specific names. These 4 threads live all time. Unfortunately I was not able to find any helpful information on what, how many, and/or why pjsua creates threads, except the working thread (I have only one). Could someone, please, give me some input on this topic? Best Slava