[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kdesu
From:       David Faure <faure () kde ! org>
Date:       2005-05-17 20:19:08
Message-ID: 200505172219.09480.faure () kde ! org
[Download RAW message or body]

On Tuesday 17 May 2005 22:16, ralf.habacker@freenet.de wrote:
> Am Dienstag, 17. Mai 2005 21:45 schrieben Sie:
> > On Tuesday 17 May 2005 19:55, Ralf Habacker wrote:
> > > +#ifndef __CYGWIN__
> > >  	int val = 20 - (int) (((double) prio) * 40 / 100 + 0.5);
> > >  	setpriority(PRIO_PROCESS, getpid(), val);
> > > +#endif
> > >      }
> >
> > setpriority does not compile?
> 
> the cygwin posix emulation api has no such support currently . 

A configure check for setpriority would be a better fix then...

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic