On Wed, Nov 11, 2009 at 09:16:44PM +0200, Igor Stasenko wrote:
Instead, why not expose the new VM abilities to language, so one could tell that specified callout should use a specified thread. Something like:
threadHandle := Smalltalk currentThreadId.
It is not hard to make these things accessible in the image, for example:
OSProcess thisOSProcess pthread ==> a ByteArray(240 166 184 224 255 255 255 255)
(this on a 64-bit platform, hence the 8-byte handle)
Dave