summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/os_core_symbian.cpp
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-03-04 14:45:19 +0000
committerBenny Prijono <bennylp@teluu.com>2008-03-04 14:45:19 +0000
commit5254d7c3a14177dffdf43c3ec7e5235b066d986e (patch)
tree249ea16a1ab2e6d7693c56af6d9af5516590b589 /pjlib/src/pj/os_core_symbian.cpp
parent771571a57c706e924ba3511dbf6c6e3dbda93c68 (diff)
Ticket #500: Added function to set thread priority in PJLIB
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1841 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/os_core_symbian.cpp')
-rw-r--r--pjlib/src/pj/os_core_symbian.cpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/pjlib/src/pj/os_core_symbian.cpp b/pjlib/src/pj/os_core_symbian.cpp
index c5707bb1..258a8a8b 100644
--- a/pjlib/src/pj/os_core_symbian.cpp
+++ b/pjlib/src/pj/os_core_symbian.cpp
@@ -484,6 +484,48 @@ PJ_DEF(pj_bool_t) pj_thread_is_registered(void)
return PJ_FALSE;
}
+
+/*
+ * Get thread priority value for the thread.
+ */
+PJ_DEF(int) pj_thread_get_prio(pj_thread_t *thread)
+{
+ PJ_UNUSED_ARG(thread);
+ return 1;
+}
+
+
+/*
+ * Set the thread priority.
+ */
+PJ_DEF(pj_status_t) pj_thread_set_prio(pj_thread_t *thread, int prio)
+{
+ PJ_UNUSED_ARG(thread);
+ PJ_UNUSED_ARG(prio);
+ return PJ_SUCCESS;
+}
+
+
+/*
+ * Get the lowest priority value available on this system.
+ */
+PJ_DEF(int) pj_thread_get_prio_min(pj_thread_t *thread)
+{
+ PJ_UNUSED_ARG(thread);
+ return 1;
+}
+
+
+/*
+ * Get the highest priority value available on this system.
+ */
+PJ_DEF(int) pj_thread_get_prio_max(pj_thread_t *thread)
+{
+ PJ_UNUSED_ARG(thread);
+ return 1;
+}
+
+
/*
* pj_thread_get_os_handle()
*/