simple and correct program using asio (http://tenermerx.com/Asio/): #include <asio.hpp> int main() { asio::io_service io; return 0; } (compile with "g++ -lpthread test.cc -o test") When running this program under vagrind, it gives a note ------------------------------------------------------------------ --24304-- WARNING: unhandled syscall: 323 --24304-- You may be able to write your own handler. --24304-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --24304-- Nevertheless we consider this a bug. Please report --24304-- it at http://valgrind.org/support/bug_reports.html. ------------------------------------------------------------------ and ends with ------------------------------------------------------------------ terminate called after throwing an instance of 'asio::system_error' what(): eventfd_select_interrupter: Function not implemented ------------------------------------------------------------------ Asio version: 1.3.0 g++ version: (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) valgrind version: 3.3.0-Debian
Created attachment 28659 [details] the output of vagrind -v
uname -a: Linux ubtop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux deb "libc6" version 2.7-10ubuntu3 deb "libstdc++6" version 4.2.3-2ubuntu7
System call 323 is eventfd which was added in revision 7917 and is included in the 3.3.1 release. *** This bug has been marked as a duplicate of bug 160907 ***