Bill Allombert on Sat, 01 Jul 2023 10:41:36 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: How to interrupt a MT calculation?


On Fri, Jun 30, 2023 at 11:43:21AM -0400, Max Alekseyev wrote:
> Jean-Luc,
> 
> Not answering your question, but it looks like the threads in your code
> share and overwrite the same variable t.
> Perhaps, the intended functionality is to define
> "()->my(t=time()); ..."
> for each of the functions.

It does the same thing actually, though your solution is cleaner.

Cheers,
Bill