200{
203 {
204 WerrorS(
"no sub-processes allowed");
206 }
207 int cnt=0;
int rw=0;
int cl=0;
208
209 for(
int j=
rl-1;
j>=0;
j--)
210 {
215 }
217 {
218 WerrorS(
"format mismatch in CRT");
220 }
223
226
233 vmem_init();
234
236 for(
int i=cnt-1;
i>=0;
i--)
237 {
239 }
241 {
242 queue->enqueue(-1);
243 }
244
248 {
250 if (pid==0) break;
252 }
254 {
264 {
265 int ind=queue->dequeue();
267 {
269 }
270
271 for(
int j=
rl-1;
j>=0;
j--)
272 {
275 else
277 }
280
282 char *
s=(
char*)
msg->str();
286 }
287 }
288 else
289 {
292 while(cnt>0)
293 {
295 char *
s=(
char*)
msg->str();
299
302 cnt--;
303 }
305 int done=0;
307 {
310 {
313 {
315 done++;
316 }
317 }
320 }
322
323 queue.free();
325 vmem_deinit();
326 }
328}
static int si_min(const int a, const int b)
si_hdl_typ si_set_signal(int sig, si_hdl_typ signal_handler)
meta function for binding a signal to an handler
void sig_term_hdl_child(int)
const CanonicalForm int s
void WerrorS(const char *s)
const char * feSetOptValue(feOptIndex opt, char *optarg)
static void * feOptValue(feOptIndex opt)
static char * get_poly(char *s, int &ind, poly *p, const ring r)
static long size_poly(poly p, const ring r)
static char * send_poly(char *s, int ind, poly p, const ring r)
poly p_ChineseRemainder(poly *xx, mpz_ptr *x, mpz_ptr *q, int rl, mpz_ptr *C, const ring R)
static const int MAX_PROCESS
#define omFreeSize(addr, size)
ideal idInit(int idsize, int rank)
initialise an ideal / module
ideal id_ChineseRemainder(ideal *xx, number *q, int rl, const ring r)
void singular_close_links()