ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD & Linux disk AIO support


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: FreeBSD & Linux disk AIO support
  • From: dimkalinux <dimkalinux@xxxxxxxxx>
  • Date: Wed, 26 Aug 2009 10:34:20 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=p23u1kJcKrCFajCzHOSFz6o8G1NxXwgMjbpA7s7pXqU=; b=B2JnhiLG3NxAfhW93sb+3ReNEpVVhPSoT4D6ROSBDuAdIu9VfQH/21qCt2eUs3CuF/ BMGsXYlOJ2cU+Mqx+kl64Gs1HzO0LdpkdP+twyVwm9y01O3zQPAK9ndzAndoBN8NuJK9 txtrGacQibQR5nMuaoNLe59B8OelNCgxYjrMg=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=aeZCogHIO+qu/qwOHr7l+f39ZsRvrQdVgzhrIOhD0sUE3jcCTZEnT90PUJlgrNGNyv LxpwyPhNxAxyCBWvRe684ztWBQJ3Pe1OkkagWOcfAiOlCQRBaVmtBt7p39OKtO3PnfBn LNJIq4eqfi8wHOSv5r//Dl3OGLlM31gnLSzY8=

Ядро 2.6.30 eventfd.h находится в linux/ а не sys/ хотя может в разных
дистрибутивах по разному.

Еще при configure в autoconf.err такое

/tmp/ccWZqru9.o: In function `main':
autotest.c:(.text+0x1d): undefined reference to `eventfd'
collect2: ld returned 1 exit status
----------

#include <sys/types.h>
#include <unistd.h>
#include <linux/eventfd.h>

int main() {
    int  n = eventfd(0, O_NONBLOCK);
    return 0;
}


-- 
dimka-linux,
Jabber: dimkalinux@xxxxxxxxx
Public key: 8B5EDD83


 




Copyright © Lexa Software, 1996-2009.