Skip to content

Commit

Permalink
Merge r1901037 from trunk:
Browse files Browse the repository at this point in the history
Prefer posix shared mem over SysV in all cases:
  Have name based order same as anon

Submitted by: jim
Reviewed by: jorton


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.8.x@1920094 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
notroj committed Aug 21, 2024
1 parent 1b4da06 commit 12c7397
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,10 @@ havebeosarea="0"
haveos2shm="0"
havewin32shm="0"
APR_BEGIN_DECISION([namebased memory allocation method])
APR_IFALLYES(header:sys/ipc.h header:sys/shm.h header:sys/file.h dnl
func:shmget func:shmat func:shmdt func:shmctl,
[haveshmget="1"
APR_DECIDE(USE_SHMEM_SHMGET, [SysV IPC shmget()])])
APR_IFALLYES(header:sys/mman.h func:mmap func:munmap,
[havemmaptmp="1"
APR_DECIDE(USE_SHMEM_MMAP_TMP,
Expand All @@ -1507,10 +1511,6 @@ APR_IFALLYES(header:sys/mman.h func:mmap func:munmap func:shm_open dnl
[havemmapshm="1"
APR_DECIDE(USE_SHMEM_MMAP_SHM,
[mmap() via POSIX.1 shm_open() on temporary file])])
APR_IFALLYES(header:sys/ipc.h header:sys/shm.h header:sys/file.h dnl
func:shmget func:shmat func:shmdt func:shmctl,
[haveshmget="1"
APR_DECIDE(USE_SHMEM_SHMGET, [SysV IPC shmget()])])
APR_IFALLYES(header:kernel/OS.h func:create_area,
[havebeosshm="1"
APR_DECIDE(USE_SHMEM_BEOS, [BeOS areas])])
Expand Down

0 comments on commit 12c7397

Please sign in to comment.