Brian Akins wrote:

Ruediger Pluem wrote:

> +static apr_status_t ap_slotmem_create(ap_slotmem_t **new, const char *name, apr_size_t item_size, int item_num, apr_pool_t *pool)


In my thought of a "slotmem" or "scoreboard" item_num is "max threads * max procs" just like the "normal" scoreboard. Or has this morphed into something completely different?

That is not really different: A piece of shared memory that should be write only by one writer. If item_num = "max threads * max procs" then it is just like the "normal" scoreboard.

I can see uses for this type as well. Would be nice to have a function somewhere to get the current connections "scoreboard slot" perhaps...

Do you mean the proxy back-end connections?

Cheers

Jean-Frederic

Reply via email to