5.3 Threads
The IP Media (IPML) demo operates with three threads, as shown in Figure 3.
Figure 3. IP Media (IPML) Demo Threads
The threads are created as follows:
- The first (main) thread is created by the demo application to get the keyboard input.
- The second thread is an SRL thread, created as a result of the demo application calling sr_enblhdlr( ) in Windows. In Linux, the thread must be explicitly created.
- The third thread is the server thread that waits for messages from the IP and puts events on the SRL queue. This thread is created at the initialization of the IP Protocol Manager and closed at its destruction.
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation