5.3 Threads
The IP Gateway (Global Call) Object Oriented demo operates with two threads, as shown in Figure 3.
Figure 3. IP Gateway (Global Call) Object Oriented 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. All Global Call events are received through the SRL.
Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation