delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/28/09:48:05

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <bb663b520708280627s4d203b33ue468d7a6df159c1f AT mail DOT gmail DOT com>
Subject: RE: [ipc] semtimedop undeclared
Date: Tue, 28 Aug 2007 14:47:18 +0100
Message-ID: <001901c7e979$f381e780$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <bb663b520708280627s4d203b33ue468d7a6df159c1f@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 28 August 2007 14:28, Mehdi Rabah wrote:

> Hi,
> 
> I'm trying to compile a linux project with cygwin. There is a file
> which use IPC and include all the necessary files
> 
> #include <sys/types.h>
> #include <sys/ipc.h>
> #include <sys/shm.h>
> #include <sys/sem.h>
> #include <sys/time.h>
> 
> 
> but still, I have this error at compile time:
> 
> error: `semtimedop' undeclared (first use this function)
> 
> what can I do about this ?

  Cygwin doesn't currently implement semtimedop, so your choices are 1) patch the
cygwin source and implement it in the dll 2) change your linux project to not use
it 3) implement it in your linux project as a wrapper around semop, possibly
using a SIGALARM or other timer to trigger the timeout...


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019