- Timestamp:
- Nov 28, 2013, 9:09:44 AM (10 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- c42a9f75e7b92be96e4b082346d946500227e213
- Parents:
- a529d3d05ff37e5533db2031b45d5fe7c6cad6a8
- git-author:
- Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-11-28 09:09:44+01:00
- git-committer:
- Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-11-28 09:12:55+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/links/ssiLink.cc
ra529d3d rcfe30a 1142 1142 struct timespec rem; 1143 1143 int r; 1144 int wait=0;1145 1144 do 1146 1145 { … … 1148 1147 t = rem; 1149 1148 } while ((r < 0) && (errno == EINTR) 1150 && ( (wait = si_waitpid(d->pid,NULL,WNOHANG)) == 0));1151 if ((r == 0) && ( wait== 0))1149 && (si_waitpid(d->pid,NULL,WNOHANG) == 0)); 1150 if ((r == 0) && (si_waitpid(d->pid,NULL,WNOHANG) == 0)) 1152 1151 { 1153 1152 kill(d->pid,15); … … 1159 1158 t = rem; 1160 1159 } while ((r < 0) && (errno == EINTR) 1161 && ( (wait = si_waitpid(d->pid,NULL,WNOHANG)) == 0));1162 if ((r == 0) && ( wait== 0))1160 && (si_waitpid(d->pid,NULL,WNOHANG) == 0)); 1161 if ((r == 0) && (si_waitpid(d->pid,NULL,WNOHANG) == 0)) 1163 1162 { 1164 1163 kill(d->pid,9); // just to be sure
Note: See TracChangeset
for help on using the changeset viewer.