Re: [PATCH] tools/memory-model: document the "one-time init" pattern

From: Alan Stern
Date: Sat Jul 18 2020 - 10:21:47 EST


On Sat, Jul 18, 2020 at 12:00:01PM +1000, Dave Chinner wrote:
> Recipes are aimed at people who simply don't understand any of that
> goobledegook. This won't help them -write correct code-.

Indeed. Perhaps this writeup belongs in a different document (with a
pointer from the recipes file), and the actual recipe itself should
await the development of a general and robust API.

Alan Stern