Changeset e30f07 in git for Singular


Ignore:
Timestamp:
Jul 9, 2012, 7:20:18 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
876e4831a1357832ee7e3262e223a8ba01f0c73d
Parents:
0bae3e12c3651cf05e6cc405368481bcbbe0dbff
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-07-09 19:20:18+02:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-09-12 13:19:30+02:00
Message:
fix: race between sig_term)hdl and m2_end in closing links
(cherry picked from commit 8435d8916aad63d28f131509cd17cb1e915dc8f4)

Signed-off-by: Andreas Steenpass <steenpass@mathematik.uni-kl.de>

Conflicts:
	Singular/silink.h
	Singular/ssiLink.cc
    (files moved, but these changes have already been ported anyway)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    r0bae3e re30f07  
    10891089    }
    10901090  }
    1091   extern link_list ssiToBeClosed;
    1092   link_list hh=ssiToBeClosed;
    1093   while(hh!=NULL)
    1094   {
    1095     //Print("close %s\n",hh->l->name);
    1096     slClose(hh->l);
    1097     hh=ssiToBeClosed;
     1091  if (ssiToBeClosed_inactive)
     1092  {
     1093    ssiToBeClosed_inactive=FALSE;
     1094
     1095    link_list hh=ssiToBeClosed;
     1096    while(hh!=NULL)
     1097    {
     1098      //Print("close %s\n",hh->l->name);
     1099      slClose(hh->l);
     1100      hh=ssiToBeClosed;
     1101    }
    10981102  }
    10991103  if (!singular_in_batchmode)
Note: See TracChangeset for help on using the changeset viewer.