Changeset e665360 in git
- Timestamp:
- May 25, 1998, 11:28:33 PM (25 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- eb816eae221c6afa793536b78f3f6090b3fcca67
- Parents:
- 237da4a965b4c32761c7294fe88cc2b9bba88453
- Location:
- Singular
- Files:
-
- 4 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 { -
Singular/febase.h
r237da4 re665360 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: febase.h,v 1.1 6 1998-05-04 13:44:47 SingularExp $ */6 /* $Id: febase.h,v 1.17 1998-05-25 21:28:31 obachman Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 29 29 30 30 extern char* feErrors; 31 extern int feErrorsLen; 31 32 extern FILE* feProtFile; 32 33 extern FILE* feFilePending; /*temp. storage for grammar.y */ -
Singular/mpsr.h
r237da4 re665360 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: mpsr.h,v 1. 8 1998-04-21 10:59:27obachman Exp $ */4 /* $Id: mpsr.h,v 1.9 1998-05-25 21:28:32 obachman Exp $ */ 5 5 /*************************************************************** 6 6 * … … 118 118 if (gTa_Length < length) 119 119 { 120 Free(gTa, gTa_Length*sizeof(MP_Sint32_t)); 120 if (gTa != NULL) 121 Free(gTa, gTa_Length*sizeof(MP_Sint32_t)); 121 122 gTa = (MP_Sint32_t *) Alloc((length)*sizeof(MP_Sint32_t)); 122 123 gTa_Length = length; -
Singular/sing_mp.cc
r237da4 re665360 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: sing_mp.cc,v 1.1 6 1998-05-12 10:35:24obachman Exp $ */4 /* $Id: sing_mp.cc,v 1.17 1998-05-25 21:28:32 obachman Exp $ */ 5 5 6 6 /* … … 462 462 { 463 463 if (v != NULL) v->CleanUp(); 464 v = mpsr_InitLeftv(STRING_CMD, (void *) feErrors); 464 v = mpsr_InitLeftv(STRING_CMD, (void *) mstrdup(feErrors)); 465 Free(feErrors, feErrorsLen); 465 466 feErrors = NULL; 466 467 }
Note: See TracChangeset
for help on using the changeset viewer.