Load /etc/phone.conf [thread] key value pairs.
More...
#include <phone.h>
Inheritance diagram for KeyThreads:
Collaboration diagram for KeyThreads:
Public Member Functions
Get relative priority to run service threads at.
More...
Get relative priority for the rtp stack.
More...
Get relative process priority.
More...
Get thread stack frame size.
More...
Get scheduler policy to use.
More...
Detailed Description
Load /etc/phone.conf [thread] key value pairs.
Has internal defaults if section or file is missing.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m Load keythreads priority and session count configuration.
Definition at line 93 of file phone.h.
Constructor & Destructor Documentation
KeyThreads::KeyThreads
(
)
Initialize keythread data.
Definition at line 25 of file config.cpp.
Member Function Documentation
const char* KeyThreads::getPolicy
(
void
)
inline
Get scheduler policy to use.
- Returns
- scheduler policy.
Definition at line 139 of file phone.h.
int KeyThreads::getPriority
(
void
)
inline
Get relative process priority.
- Returns
- rtp stack thread priority (relative).
Definition at line 122 of file phone.h.
unsigned KeyThreads::getStack
(
void
)
inline
Get thread stack frame size.
- Returns
- thread stack frame in k.
Definition at line 130 of file phone.h.
int KeyThreads::priAudio
(
void
)
inline
Get relative priority to run service threads at.
- Returns
- audio thread priority (relative).
Definition at line 106 of file phone.h.
int KeyThreads::priRTP
(
void
)
inline
Get relative priority for the rtp stack.
- Returns
- audio thread priority (relative).
Definition at line 114 of file phone.h.
The documentation for this class was generated from the following files: