mpm.h revision a91a59d0b0ceed7cd5621fe8757eda5ff6a043a8
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding/* Licensed to the Apache Software Foundation (ASF) under one or more
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding * contributor license agreements. See the NOTICE file distributed with
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding * this work for additional information regarding copyright ownership.
b99dbaab171d91e1b664397cc40e039d0c087c65fielding * The ASF licenses this file to You under the Apache License, Version 2.0
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding * (the "License"); you may not use this file except in compliance with
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding * the License. You may obtain a copy of the License at
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding * Unless required by applicable law or agreed to in writing, software
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding * distributed under the License is distributed on an "AS IS" BASIS,
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding * See the License for the specific language governing permissions and
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding * limitations under the License.
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding * @brief Unix Prefork MPM (default for Uinx systems)
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding * @defgroup APACHE_MPM_PREFORK Unix Prefork
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding * @ingroup APACHE_MPM APACHE_OS_UNIX
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding#define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
ab2c1c1c83ec91415565da5a71fbc15d9685caa6fielding#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
3568de757bac0b47256647504c186d17ca272f85rbb#endif /* APACHE_MPM_PREFORK_H */