From cf06a366c8c6686a700d93f8a55b426673c51a8f Mon Sep 17 00:00:00 2001 From: Roger Cole Date: Tue, 30 Jul 1991 07:33:06 +0000 Subject: [PATCH] Initial revision --- src/util/startCArepeater.c | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/util/startCArepeater.c diff --git a/src/util/startCArepeater.c b/src/util/startCArepeater.c new file mode 100644 index 000000000..2a4615556 --- /dev/null +++ b/src/util/startCArepeater.c @@ -0,0 +1,52 @@ +/* $Id$ + * Author: Roger A. Cole + * Date: 05-03-91 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 05-03-91 rac initial version + * .02 07-30-91 rac installed in SCCS + * + */ +/*+/mod*********************************************************************** +* TITLE startCArepeater.c - start up the Channel Access repeater task +* +* DESCRIPTION +* This program exists to avoid having the UNIX Channel Access +* repeater process masquerade as the process which caused it to +* be created. For example, if AR is the first Channel Access client +* started after booting the workstation, then there will exist the +* "real" AR process as well as the CA repeater process whose name +* would also be "AR", since it is produced via a fork. +* +* To avoid this problem, the script which starts AR first runs this +* program. Other programs which care could adopt the same strategy. +* +*-***************************************************************************/ +#include +#include +main() +{ + ca_task_initialize(); +}