Changeset 172d852 in git for Singular/svd/libs/amp.cpp


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/svd/libs/amp.cpp

    r5abb79f r172d852  
    66************************************************************************/
    77std::vector< amp::mpfr_record* > _mpfr_storage_v;
    8 gmp_randstate_t _mpfr_storage_rs;
    9 bool _mpfr_storage_init = false;
     8VAR gmp_randstate_t _mpfr_storage_rs;
     9VAR bool _mpfr_storage_init = false;
    1010
    1111amp::mpfr_record* amp::mpfr_storage::newMpfr(unsigned int Precision)
     
    6464{
    6565    static amp::mpfr_record_ptr tmp       = NULL;
    66     static int lastPrec                   = -1;
     66    STATIC_VAR int lastPrec                   = -1;
    6767    static amp::mpfr_record_ptr &lastList = tmp;
    6868    if( lastPrec!=Precision )
Note: See TracChangeset for help on using the changeset viewer.