vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
982 stars 118 forks source link

Enable MultiRun (-M) as default behaviour #479

Open tueda opened 4 months ago

tueda commented 4 months ago

Version 5.0.0 may be a good point to change the default behaviour about filenames of temporary files.

See the discussions in #112 and #284.

Options:

  1. Don't change the behaviour.
  2. Always use the multi-run mode. Retain -M for compatibility, but it does nothing.
  3. Change the default behaviour to enable the multi-run mode, disabled by, say, -nM.

Related, but another concern is that ((int)GetPID())%100000 does not 100% guarantee a unique number. We may change this, for example, by removing %100000. Nowadays, I see PIDs like 25356 and 128171. It might happen the situation with PIDs differ by exactly 100000.

Any thoughts?