gregames@apache.org wrote:
> Jeff Trawick wrote:
>
>> Also, should we be allowing modules to look at the scoreboard
>> structures directly, or indexing into the scoreboard arrays directly?
>> If the latter were avoided, at least we could add fields to the end of
>> process_score or worker_score without hurting modules (okay to require
>> MPMs to be recompiled until such time that they can be dynamically
>> loaded).
>
>
> we've got accessor functions - ap_get_scoreboard_(worker|parent|global)
> - which look correct. Why not require non-MPM modules to use those?
and MPMs would have to declare AP_MPM_PRIVATE before including scoreboard.h in
order to see the declarations required to access the structures directly
|