On Tue, September 18, 2007 09:30, Michael Kerrisk wrote:... Wouldn't this remove some of the usefulness of the timerfd? For example, if a timerfd is one of the fd's that is returned by a epoll_wait syscall, you manually need to do the mapping between the timerfd and the timerid in order to be able to modify the timer. The advantage of solution b) above is that the fd is everything that is needed to work with the timer. With solution c) you have to keep two references to the same timer around and use one of them depending on what you want to do with the timer. Also, if the timerfd is close():d, does that remove the underlying timer (invalidate the timerid) as well? -- David Härdeman -
| Rafael J. Wysocki | [Bug #10493] mips BCM47XX compile error |
| Ingo Molnar | [patch 02/13] syslets: add syslet.h include file, user API/ABI definitions |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrea Arcangeli | [PATCH 00 of 11] mmu notifier #v16 |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| Mark Lord | Re: [BUG] New Kernel Bugs |
