Posted Mar 2, 2007 6:27 UTC (Fri) by roelofs
Parent article: Threadlets
The above description has left out a couple of details, mostly related to the management of user-space stacks.
I hope the left-out part includes something that rationalizes this comment:
The stack argument is thus a pointer (despite its unsigned long type) ...
Generally speaking, of course, mixing pointers and integers is Considered Harmful, insofar as the former may be larger than the latter on some architectures (even when the latter are long ints). Perhaps the "pointer" here is more of an offset that gets added to a (true) base pointer somewhere else?
to post comments)