Messages in this thread | | | Date | Thu, 11 Jan 2007 01:25:16 -0700 | From | Sean Reifschneider <> | Subject | Re: select() setting ERESTARTNOHAND (514). |
| |
On Wed, Jan 10, 2007 at 05:15:20PM -0800, David Miller wrote: >If you're only seeing it in strace, that's expected due to some
Nope, I haven't looked in strace at all. It's definitely making it to user-space. The code in question is (abbreviated):
if (select(0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &t) != 0) { PyErr_SetFromErrno(PyExc_IOError); return -1; }
which causes the Python interpreter to raise an IOError exception, including the value of errno, which is 514.
Thanks, Sean -- This mountain is PURE SNOW! Do you know what the street value of this mountain is!?! -- Better Off Dead Sean Reifschneider, Member of Technical Staff <jafo@tummy.com> tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability
- 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/
| |