This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mlockall() and cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]