Changeset 172d852 in git for Singular/countedref.h


Ignore:
Timestamp:
Jan 24, 2019, 2:32:29 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
08394f319ba420091cccad7e025c3f7cac04c373
Parents:
5abb79fd2458b47b21d297f2c8b26f285ac9546f756676ef1fcf4cff300fb1607a6d21293b253245
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2019-01-24 14:32:29+01:00
git-committer:
GitHub <noreply@github.com>2019-01-24 14:32:29+01:00
Message:
Merge pull request #906 from rbehrends/prelim-thread-rewrite

Singular changes for multi-threading support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/countedref.h

    r5abb79f r172d852  
    223223  static idhdl newid(leftv head, idhdl* root) {
    224224
    225     static unsigned int counter = 0;
     225    STATIC_VAR unsigned int counter = 0;
    226226    char* name = (char*) omAlloc0(512);
    227227    sprintf(name, " :%u:%p:_shared_: ", ++counter, head->data);
Note: See TracChangeset for help on using the changeset viewer.