mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
windows fixes for priority - needs to be revisited when apr and pthread versions support calls.
This commit is contained in:
1 parent
52eff9451c
commit
5620d6d063
2 files changed
+13
No files matched your search
@@ -268,7 +268,10 @@ int su_pthreaded_port_start(su_port_create_f *create,
|
||||
|
||||
pthread_mutex_lock(arg.mutex);
|
||||
if (pthread_create(&tid, &attr, su_pthread_port_clone_main, &arg) == 0) {
|
||||
#ifndef WIN32
|
||||
/* this needs to be revisited when pthread for windows supports thread priority settings */
|
||||
pthread_setschedprio(tid, 99);
|
||||
#endif
|
||||
pthread_cond_wait(arg.cv, arg.mutex);
|
||||
thread_created = 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user