delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/13/07:36:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 13 Oct 2005 13:36:09 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mlockall() and cygwin
Message-ID: <20051013113609.GF2908@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20051013110409 DOT 11283 DOT qmail AT web25610 DOT mail DOT ukl DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20051013110409.11283.qmail@web25610.mail.ukl.yahoo.com>
User-Agent: Mutt/1.4.2i

On Oct 13 13:04, Mohamed Amjed Ben Salah wrote:
> Hello,
> I have a programm that runs very well under Linux. In
> this program I use the function mlockall() and i have
> a problem to compile it and to run it under cygwin,
> because the function mlockall() is not implemented in
> the actual version. Have someone idee how to solve
> this problem?

mlockall will probably never be implemented since there's no support
for it on user mode level in Win32.  There's support for something like
mlock/munlock, but only on NT and it's also not implemented in Cygwin.

Try building and running without calling mlockall.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
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