mlockall() and cygwin

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Oct 13 11:36:00 GMT 2005


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/



More information about the Cygwin mailing list