Changeset e665360 in git for Singular/LIB/standard.lib
- Timestamp:
- May 25, 1998, 11:28:33 PM (25 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- eb816eae221c6afa793536b78f3f6090b3fcca67
- Parents:
- 237da4a965b4c32761c7294fe88cc2b9bba88453
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/standard.lib
r237da4 re665360 1 // $Id: standard.lib,v 1.1 5 1998-05-25 08:44:14obachman Exp $1 // $Id: standard.lib,v 1.16 1998-05-25 21:28:33 obachman Exp $ 2 2 ////////////////////////////////////////////////////////////////////////////// 3 3 4 version="$Id: standard.lib,v 1.1 5 1998-05-25 08:44:14obachman Exp $";4 version="$Id: standard.lib,v 1.16 1998-05-25 21:28:33 obachman Exp $"; 5 5 info=" 6 6 LIBRARY: standard.lib PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP … … 151 151 if (typeof(#[1]) == "int") 152 152 { 153 int wait = #[1] * 1000000; 154 int j,k = 10, 0; 153 int wait = #[1]; 154 int j = 10; 155 155 156 string bs = nameof(basering); 156 157 link l_fork = "MPtcp:fork"; … … 160 161 write(l_fork, quote(groebner(eval(i)))); 161 162 162 while(k < wait) 163 // sleep in small intervalls for appr. one second 164 if (wait > 0) 163 165 { 164 if (status(l_fork, "read", "ready", j)) {break;} 165 k = k + j; 166 j = j + j; 166 while(j < 1000000) 167 { 168 if (status(l_fork, "read", "ready", j)) {break;} 169 j = j + j; 170 } 167 171 } 168 172 173 // sleep in intervalls of one second from now on 174 j = 1; 175 while (j < wait) 176 { 177 if (status(l_fork, "read", "ready", 1000000)) {break;} 178 j = j + 1; 179 } 180 169 181 if (status(l_fork, "read", "ready")) 170 182 {
Note: See TracChangeset
for help on using the changeset viewer.