Sean Kelly Wrote: > It would be trivial to implement spawn on top of the Thread object.
Not so trivial, as I would like the spawn function to be a variadic template. > And > the reverse would work as well, though it would be less practical. After > all, some data must be used to represent a thread even with the spawn > model, and it would be silly to graft a thread abstraction a few layers > above this. I didn't discuss the details of spawn, but I see it as returning a ThreadHandle struct holding the ID and providing methods that operate on the thread--essentially all the Thread methods except run.
