Messages in this thread | | | Date | Fri, 06 Dec 2002 12:33:39 -0800 | From | george anzinger <> | Subject | Re: [PATCH] compatibility syscall layer (let's try again) |
| |
Jim Houston wrote: > > Linus Torvalds wrote: > > Hi Linus, > > Sorry about my last message (which quoted everything but didn't add > anything). I shouldn't try to answer email and talk on the phone at > the same time. > > > It's been tested, and the only problem I found (which is kind of > > fundamental) is that if the system call gets interrupted by a signal and > > restarted, and then later returns successfully, the partial restart will > > have updated the "remaining time" field to whatever was remaining when the > > restart was started. > > > > George's Posix timers patch sets the time remaining to zero in the > success case. I think this is the right thing to do. > > I don't have a copy of the spec in front of me. IIRC, it says that you have > to set the time remaining in the interrupted case. It says nothing > about setting it on the success case. I would leave the lawyers out > of writing software. > > I wish the IEEE would make the Posix specs available online for free. > I gave the IEEE money for years...
Try: http://www.opengroup.org/onlinepubs/007904975/toc.htm -- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |