Fiber and Thread Communication

tcak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 8 12:46:17 PDT 2016


On Friday, 8 April 2016 at 15:33:46 UTC, Dicebot wrote:
> On Friday, 8 April 2016 at 14:08:39 UTC, Nordlöw wrote:
>> So a TId can represent either a thread or a fiber?
>
> AFAIR, yes (I haven't used std.concurrency in a long while, 
> telling all from memory only).

yes what? Thread or Fiber.

---

Anyway. Since, Fiber is not like a thread, and when a thread 
starts a Fiber, it is like calling a normal function, I guess TId 
represents the thread still.


More information about the Digitalmars-d-learn mailing list