gap-packages / FactInt

FactInt -- Advanced Methods for [Fact]oring [Int]egers
https://gap-packages.github.io/FactInt/
GNU General Public License v2.0
4 stars 4 forks source link

Factint is not multithreaded #2

Closed ChrisJefferson closed 4 years ago

ChrisJefferson commented 7 years ago

My change ( #1 ) makes factint work on the 'main thread' in HPC-GAP, but still not on any other threads.

Making it work on other threads will require placing locks around all of the caches which factint keeps. I am happy to work on this, but it will require quite a lot of code changes, so I wanted to check you would be happy, before I started.

Stefan-Kohl commented 7 years ago

I have just merged your pull request (thanks!).

Does placing locks around all of the caches have any drawbacks, e.g. a non-negligible slowdown?

olexandr-konovalov commented 5 years ago

FactInt is now disables in HPC-GAP tests: see https://github.com/gap-system/gap/issues/3025 and https://github.com/gap-system/gap/pull/3039.