|
From: Tom H. <th...@cy...> - 2004-01-20 09:11:58
|
In message <3ee...@lo...>
Tom Hughes <th...@cy...> wrote:
> 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.
Mukund has confirmed to me that it is only normal kernel locking that
he is talking about, so I think it is only epoll_wait that we need to
consider as blocking.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|