|
From: Jeremy F. <je...@go...> - 2003-08-20 10:33:01
|
On Tue, 2003-08-19 at 13:34, David Lee wrote: > Has anyone worked on adding the epoll syscalls to valgrind yet? I made an > attempt to hack in something, but it still doesn't work. I've attached my > diff below. I've never looked at epoll, so I don't know what's wrong with your patch. However, judging by its name, epoll_wait is a blocking call, and it doesn't seem you're doing anything to make it non-blocking. This will cause all threads to block if any of them does. You might have better success trying to patch my "syscalls" tree, which has a new syscall handling mechanism which can cope with blocking syscalls. See http://www.goop.org/~jeremy/valgrind/snapshots/ . J |