|
|
|
@ -168,8 +168,8 @@ pxy_thrmgr_free(pxy_thrmgr_ctx_t *ctx)
|
|
|
|
|
/*
|
|
|
|
|
* Assign a new connection to a thread. Chooses the thread with the fewest
|
|
|
|
|
* currently active connections, returns the appropriate event bases.
|
|
|
|
|
* No need to be so accurate about balancing thread loads, so uses
|
|
|
|
|
* thread-level mutexes, instead of a thrmgr level mutex.
|
|
|
|
|
* No need to be so accurate about balancing thread loads,
|
|
|
|
|
* so does not use mutexes, thread or thrmgr level.
|
|
|
|
|
* Returns the index of the chosen thread (for passing to _detach later).
|
|
|
|
|
* This function cannot fail.
|
|
|
|
|
*/
|
|
|
|
|