diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2002-01-25 07:16:01 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2002-01-25 07:16:01 +0000 |
commit | 4b1ea2d35e6272596dcca8363931462cd5c9831e (patch) | |
tree | 623cd818a485888d26e5ece791215806d4b95556 | |
parent | b7d071bd46dd1a0cf8d5308ed8fce1003391d399 (diff) | |
download | apr-4b1ea2d35e6272596dcca8363931462cd5c9831e.tar.gz |
Simple workaround, for now. Aaron is researching, but if something
obscure is already obvious to OS2/BeOS folks, feel free to round out.
I suspect it's simply the pointer to the phys mem, filling out the
internals of apr_shm_t, but I'm not certain.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62831 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | shmem/beos/shm.c | 14 | ||||
-rw-r--r-- | shmem/os2/shm.c | 14 | ||||
-rw-r--r-- | shmem/unix/shm.c | 13 | ||||
-rw-r--r-- | shmem/win32/shm.c | 2 |
4 files changed, 43 insertions, 0 deletions
diff --git a/shmem/beos/shm.c b/shmem/beos/shm.c index 65de9e102..274a4a049 100644 --- a/shmem/beos/shm.c +++ b/shmem/beos/shm.c @@ -168,3 +168,17 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m) } APR_POOL_IMPLEMENT_ACCESSOR(shm) + +APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm, + apr_shm_t *shm) +{ + return APR_ENOTIMPL; +} + +APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m, + apr_os_shm_t *osshm, + apr_pool_t *pool) +{ + return APR_ENOTIMPL; +} + diff --git a/shmem/os2/shm.c b/shmem/os2/shm.c index 8c3c5bc77..cb922e7d7 100644 --- a/shmem/os2/shm.c +++ b/shmem/os2/shm.c @@ -145,3 +145,17 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m) } APR_POOL_IMPLEMENT_ACCESSOR(shm) + +APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm, + apr_shm_t *shm) +{ + return APR_ENOTIMPL; +} + +APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m, + apr_os_shm_t *osshm, + apr_pool_t *pool) +{ + return APR_ENOTIMPL; +} + diff --git a/shmem/unix/shm.c b/shmem/unix/shm.c index d7508cff3..f965e9dae 100644 --- a/shmem/unix/shm.c +++ b/shmem/unix/shm.c @@ -564,3 +564,16 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m) APR_POOL_IMPLEMENT_ACCESSOR(shm) +APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm, + apr_shm_t *shm) +{ + return APR_ENOTIMPL; +} + +APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **m, + apr_os_shm_t *osshm, + apr_pool_t *pool) +{ + return APR_ENOTIMPL; +} + diff --git a/shmem/win32/shm.c b/shmem/win32/shm.c index 8f9b2b7aa..3d619f6d8 100644 --- a/shmem/win32/shm.c +++ b/shmem/win32/shm.c @@ -265,6 +265,8 @@ APR_DECLARE(apr_size_t) apr_shm_size_get(const apr_shm_t *m) return m->length; } +APR_POOL_IMPLEMENT_ACCESSOR(shm) + APR_DECLARE(apr_status_t) apr_os_shm_get(apr_os_shm_t *osshm, apr_shm_t *shm) { |