mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
more priority tweaks
This commit is contained in:
@@ -989,7 +989,7 @@ SWITCH_DECLARE(const char *) switch_dir_next_file(switch_dir_t *thedir, char *bu
|
||||
//APR_DECLARE(apr_status_t) apr_threadattr_stacksize_set(apr_threadattr_t *attr, switch_size_t stacksize)
|
||||
SWITCH_DECLARE(switch_status_t) switch_threadattr_stacksize_set(switch_threadattr_t *attr, switch_size_t stacksize);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_threadattr_priority_increase(switch_threadattr_t *attr);
|
||||
SWITCH_DECLARE(switch_status_t) switch_threadattr_priority_set(switch_threadattr_t *attr, switch_thread_priority_t priority);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -2016,6 +2016,13 @@ typedef switch_status_t (*switch_module_shutdown_t) SWITCH_MODULE_SHUTDOWN_ARGS;
|
||||
#define SWITCH_MODULE_RUNTIME_FUNCTION(name) switch_status_t name SWITCH_MODULE_RUNTIME_ARGS
|
||||
#define SWITCH_MODULE_SHUTDOWN_FUNCTION(name) switch_status_t name SWITCH_MODULE_SHUTDOWN_ARGS
|
||||
|
||||
typedef enum {
|
||||
SWITCH_PRI_LOW = 1,
|
||||
SWITCH_PRI_NORMAL = 10,
|
||||
SWITCH_PRI_IMPORTANT = 50,
|
||||
SWITCH_PRI_REALTIME = 99,
|
||||
} switch_thread_priority_t;
|
||||
|
||||
typedef enum {
|
||||
SMODF_NONE = 0,
|
||||
SMODF_GLOBAL_SYMBOLS = (1 << 0)
|
||||
|
||||
Reference in New Issue
Block a user