"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "kernel/GBEngine/kChinese.cc" between
singular-4.2.0p3.tar.gz and singular-4.2.1.tar.gz

About: SINGULAR is a Computer Algebra System for polynomial computations, with special emphasis on commutative and non-commutative algebra, algebraic geometry, and singularity theory.

kChinese.cc  (singular-4.2.0p3):kChinese.cc  (singular-4.2.1)
skipping to change at line 272 skipping to change at line 272
//printf("size: %ld kB\n",(l+1023)/1024); //printf("size: %ld kB\n",(l+1023)/1024);
VRef<VString> msg = vstring(l+1); VRef<VString> msg = vstring(l+1);
char *s=(char*)msg->str(); char *s=(char*)msg->str();
send_poly(s,ind,res,r); send_poly(s,ind,res,r);
rqueue->enqueue(msg); rqueue->enqueue(msg);
if (TEST_OPT_PROT) printf("."); if (TEST_OPT_PROT) printf(".");
} }
} }
else // parent --------------------------------------------------- else // parent ---------------------------------------------------
{ {
if (TEST_OPT_PROT) printf("%d childs created\n",cpus); if (TEST_OPT_PROT) printf("%d children created\n",cpus);
VRef<VString> msg; VRef<VString> msg;
while(cnt>0) while(cnt>0)
{ {
msg=rqueue->dequeue(); msg=rqueue->dequeue();
char *s=(char*)msg->str(); char *s=(char*)msg->str();
int ind; int ind;
poly p=NULL; poly p=NULL;
get_poly(s,ind,&p,r); get_poly(s,ind,&p,r);
//printf("got res[%d]\n",ind); //printf("got res[%d]\n",ind);
result->m[ind]=p; result->m[ind]=p;
skipping to change at line 346 skipping to change at line 346
long l=size_poly(res,r); long l=size_poly(res,r);
VRef<VString> msg = vstring(l+1); VRef<VString> msg = vstring(l+1);
char *s=(char*)msg->str(); char *s=(char*)msg->str();
send_poly(s,ind,res,r); send_poly(s,ind,res,r);
rqueue->enqueue(msg); rqueue->enqueue(msg);
if (TEST_OPT_PROT) printf("."); if (TEST_OPT_PROT) printf(".");
} }
} }
else // parent --------------------------------------------------- else // parent ---------------------------------------------------
{ {
if (TEST_OPT_PROT) printf("%d childs created\n",cpus); if (TEST_OPT_PROT) printf("%d children created\n",cpus);
VRef<VString> msg; VRef<VString> msg;
while(cnt>0) while(cnt>0)
{ {
msg=rqueue->dequeue(); msg=rqueue->dequeue();
char *s=(char*)msg->str(); char *s=(char*)msg->str();
int ind; int ind;
poly p=NULL; poly p=NULL;
get_poly(s,ind,&p,r); get_poly(s,ind,&p,r);
//printf("got res[%d]\n",ind); //printf("got res[%d]\n",ind);
result->m[ind]=p; result->m[ind]=p;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)