It's probably worth adding a note that neither threads nor generators should be assumed to be thread safe.

--
Alex