1N/A * Copyright (c) 2000-2002, 2004, 2005 Sendmail, Inc. and its suppliers. 1N/A * All rights reserved. 1N/A * By using this file, you agree to the terms and conditions set 1N/A * forth in the LICENSE file which can be found at the top level of 1N/A * the sendmail distribution. 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A** SHMINTER -- interactive testing of shared memory 1N/A** owner -- create segment. 1N/A** SHMBIG -- testing of shared memory 1N/A** owner -- create segment. 1N/A** size -- size of segment. 1N/A for (i = 0; i <
size /
sizeof(
int); i++)
1N/A for (i = 0; i <
size /
sizeof(
int); i++)
1N/A** SHMTEST -- test of shared memory 1N/A** owner -- create segment. 1N/A /* release and re-acquire the segment */ 1N/A /* wait a momemt so the segment is still in use */ 1N/A /* give the parent the chance to setup data */ 1N/A#
else /* SM_CONF_SHM */ 1N/A printf(
"No support for shared memory configured on this machine\n");
1N/A#
endif /* SM_CONF_SHM */