|
From: Tom H. <th...@cy...> - 2004-01-19 23:48:18
|
In message <0F8...@ms...>
"Mukund Srinivasan" <mu...@sh...> wrote:
> Epoll_create internally uses wait locking(for threads) to create a
> system resource that can hold the descriptors on the kernel table, So
> you should assume both epoll_create and epoll_ctl can block
Is this locking something more than the normal type of kernel locks
that most system calls will wind up taking at some point? Only valgrind
doesn't normally consider a system call blocking just because it takes
a lock on a kernel structure at some point.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|