From 14aa5b47b0956ce1809d82e556778303f68ff0bd Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Tue, 27 Apr 2004 21:33:44 +0000 Subject: [PATCH] Darwin uses shutdown rather than signals to break out of socket I/O. --- .../osi/os/Darwin/systemCallIntMech.cpp | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/libCom/osi/os/Darwin/systemCallIntMech.cpp diff --git a/src/libCom/osi/os/Darwin/systemCallIntMech.cpp b/src/libCom/osi/os/Darwin/systemCallIntMech.cpp new file mode 100644 index 000000000..2cd37b1aa --- /dev/null +++ b/src/libCom/osi/os/Darwin/systemCallIntMech.cpp @@ -0,0 +1,22 @@ + +/*************************************************************************\ +* Copyright (c) 2002 The University of Chicago, as Operator of Argonne +* National Laboratory. +* Copyright (c) 2002 The Regents of the University of California, as +* Operator of Los Alamos National Laboratory. +* EPICS BASE Versions 3.13.7 +* and higher are distributed subject to a Software License Agreement found +* in file LICENSE that is included with this distribution. +\*************************************************************************/ +/* $Id$ */ +/* + * Author: Jeff Hill + */ + +#include "osiSock.h" + +enum epicsSocketSystemCallInterruptMechanismQueryInfo + epicsSocketSystemCallInterruptMechanismQuery () +{ + return esscimqi_socketBothShutdownRequired; +}