Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

beos/mpm.h

Go to the documentation of this file.
00001 /* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
00002  * applicable.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef APACHE_MPM_BEOS_H
00018 #define APACHE_MPM_BEOS_H
00019 
00020 #define BEOS_MPM
00021 #include "scoreboard.h"
00022 
00023 #define MPM_NAME "Beos"
00024 #define MPM_CHILD_PID(i) (ap_scoreboard_image->servers[0][i].tid)
00025 #define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
00026 
00027 #define AP_MPM_WANT_RECLAIM_CHILD_PROCESSES
00028 #define AP_MPM_WANT_WAIT_OR_TIMEOUT
00029 #define AP_MPM_WANT_PROCESS_CHILD_STATUS
00030 #define AP_MPM_WANT_SET_PIDFILE
00031 #define AP_MPM_WANT_SET_SCOREBOARD
00032 #define AP_MPM_WANT_SET_MAX_REQUESTS
00033 #define AP_MPM_WANT_SET_COREDUMPDIR
00034 #define AP_MPM_WANT_SET_MAX_MEM_FREE
00035 
00036 extern int ap_max_child_assigned;
00037 extern server_rec *ap_server_conf;
00038 extern int ap_threads_per_child;
00039 
00040 #endif /* APACHE_MPM_BEOS_H */