Mark H Weaver <m...@netris.org> skribis:

> +  ;; setting 'create-workers!' to a no-op is an optimization, but it is
> +  ;; still possible for '%create-workers!' to be called more than once
> +  ;; from different threads.  Therefore, to avoid creating %workers more
> +  ;; than once (and thus creating too many threads), we check to make
> +  ;; sure %workers is empty within the critical section.

Do you have a scenario where this happens?

Ludo’.


Reply via email to