forked from M-Labs/libfringe
661872f725
On hosted platforms, libstd allows safely borrowing values from TLS with 'thread lifetime and without a Sync bound. As a result, we can't guarantee that sending a generator across threads won't create dangling references or data races. In freestanding environments, the notion of thread-safety is likely to be defined by the consumer of libfringe, so our Send bounds and implementation are unlikely to be meaningful anyway. |
||
---|---|---|
.. | ||
arch | ||
debug | ||
stack | ||
generator.rs | ||
lib.rs |