[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix thread-unsafe lazy initializations
From: |
Mark H Weaver |
Subject: |
Re: [PATCH] Fix thread-unsafe lazy initializations |
Date: |
Tue, 05 Mar 2013 16:10:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Agreed. Perhaps just something like: “Note that the program should
> ensure that ‘my_init’ is called only once, and in a thread-safe way.”
Okay, I went ahead and pushed it to stable-2.0, with the code comment:
"It is important that the call to 'my_init' happens-before all calls to
'my_eval_string'."
Thanks,
Mark