apr_arch_shm.h (302408) | apr_arch_shm.h (362181) |
---|---|
1/* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 --- 53 unchanged lines hidden (view full) --- 62 apr_pool_t *pool; 63 void *base; /* base real address */ 64 void *usable; /* base usable address */ 65 apr_size_t reqsize; /* requested segment size */ 66 apr_size_t realsize; /* actual segment size */ 67 const char *filename; /* NULL if anonymous */ 68#if APR_USE_SHMEM_SHMGET || APR_USE_SHMEM_SHMGET_ANON 69 int shmid; /* shmem ID returned from shmget() */ | 1/* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 --- 53 unchanged lines hidden (view full) --- 62 apr_pool_t *pool; 63 void *base; /* base real address */ 64 void *usable; /* base usable address */ 65 apr_size_t reqsize; /* requested segment size */ 66 apr_size_t realsize; /* actual segment size */ 67 const char *filename; /* NULL if anonymous */ 68#if APR_USE_SHMEM_SHMGET || APR_USE_SHMEM_SHMGET_ANON 69 int shmid; /* shmem ID returned from shmget() */ |
70 key_t shmkey; /* shmem key IPC_ANON or returned from ftok() */ |
|
70#endif 71}; 72 73#endif /* SHM_H */ | 71#endif 72}; 73 74#endif /* SHM_H */ |