Mercurial > hg > freeDiameter
comparison libfdcore/core.c @ 1397:239ba25870d8
Allow parametrizing the number of threads for routing in/out.
This is for high-load situations where freeDiameter was limited
by the corresponding queues.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Fri, 15 Nov 2019 11:40:37 +0100 |
parents | ae81cd81ab09 |
children | 566bb46cc73f |
comparison
equal
deleted
inserted
replaced
1396:188c82b6690b | 1397:239ba25870d8 |
---|---|
313 } | 313 } |
314 | 314 |
315 int fd_core_start(void) | 315 int fd_core_start(void) |
316 { | 316 { |
317 int ret; | 317 int ret; |
318 CHECK_FCT( fd_queues_init_after_conf() ); | |
319 | |
318 CHECK_POSIX( pthread_mutex_lock(&core_lock) ); | 320 CHECK_POSIX( pthread_mutex_lock(&core_lock) ); |
319 ret = fd_core_start_int(); | 321 ret = fd_core_start_int(); |
320 CHECK_POSIX( pthread_mutex_unlock(&core_lock) ); | 322 CHECK_POSIX( pthread_mutex_unlock(&core_lock) ); |
321 return ret; | 323 return ret; |
322 } | 324 } |