mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -444,7 +444,7 @@ void switch_core_memory_stop(void)
|
||||
#ifndef INSTANTLY_DESTROY_POOLS
|
||||
memory_manager.pool_thread_running = -1;
|
||||
while (memory_manager.pool_thread_running) {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@@ -503,7 +503,7 @@ switch_memory_pool_t *switch_core_memory_init(void)
|
||||
switch_thread_create(&thread, thd_attr, pool_thread, NULL, memory_manager.memory_pool);
|
||||
|
||||
while (!memory_manager.pool_thread_running) {
|
||||
switch_yield(1000);
|
||||
switch_cond_next();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user