Windows has built-in support for user-space scheduled threads. They're
called fibers (multiple fibers are bound to one thread; the OS
schedules threads and you pick which fiber runs).
Ahh. I did not know this.
So adding a UseFibers" property for the windows implementation of
TThread might be a good way to provide a lighter version of same.
-Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel