[torqueusers] torque-1.2.0p7-snap.1129344416.tar.gz
Wolfgang Wander
wwc at rentec.com
Mon Oct 17 08:35:23 MDT 2005
Just checked the diffs from p6 to the current p7 snapshot.
This one here looks like being a bit oversensitive to errno == EINTR,
doesn't it?
diff -cr torque-1.2.0p6/src/cmds/qsub.c torque-1.2.0p7a2/src/cmds/qsub.c
*** torque-1.2.0p6/src/cmds/qsub.c Fri Sep 2 09:21:22 2005
--- torque-1.2.0p7a2/src/cmds/qsub.c Tue Sep 13 23:31:46 2005
[...]
***************
*** 1484,1489 ****
--- 1503,1522 ----
{
/* error */
+ if (errno == EAGAIN)
+ {
+ sleep(1);
+
+ continue;
+ }
+
+ if (errno == EAGAIN)
+ {
+ sleep(1);
+
+ continue;
+ }
+
if (errno != EINTR)
{
perror("qsub: read error");
More information about the torqueusers
mailing list