On Thu, 1 Dec 2005 14:36:54 +0000, Simon Beaumont wrote (in article <[EMAIL PROTECTED]>):
Thanks to Harmon who pointed me in the right direction: since open is a "slow" system call (and indeed I was blocking) and since Oz has signals firing off for its internal scheduling then I was getting interrupted. (Though I thought BSD automatically restarted open) I have wrapped a retry loop around my open call and all is well. I guess other "slow" syscalls could be similarly affected. Cheers, Simon > Hi, > > I'm getting an EINTR (interrupted system call) when trying to open a > file descriptor (fifo) as part of some c interface code. Any insights? > > What would be firing signals at this point? How should I handle it? > > Cheers, > > Simon > > _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
