Project

General

Profile

Design #1691

Random and threadsafe?

Added by John Abbott over 1 year ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Safety
Target version:
Start date:
05 Aug 2022
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

Random fns should also accept a random source so they can be used in a multi-threaded program.

History

#1 Updated by John Abbott over 1 year ago

Alternative: create a version "threadsae: which uses a mutex/lock... might be slow, but should be safe.

#2 Updated by John Abbott 2 months ago

  • Target version changed from CoCoALib-0.99850 to CoCoALib-0.99900

Also available in: Atom PDF