Lines Matching refs:me
413 fun getAttrWord (me: thread) : Word.word =
414 RunCall.loadWord(me, threadIdFlags)
416 fun getStackSizeAsInt (me: thread) : int =
417 RunCall.loadWord(me, threadIdStackSize)
419 and getStackSize me : int option =
420 case getStackSizeAsInt me of
436 val me = self()
437 val oldValues: Word.word = getAttrWord me
439 val stack = newStackSize(attrs, getStackSizeAsInt me)
443 if stack = getStackSizeAsInt me
456 val me = self()
458 MaximumMLStack (getStackSize me) :: wordToAttrs(getAttrWord me)
618 val me = self() (* My thread id. *)
622 fun doFind [] = false | doFind(h::t) = equal(h, me) orelse doFind t
625 | removeThis (h::t) = if equal(h, me) then t else h :: removeThis t
666 threads := me :: !threads; (* Add ourselves to the list. *)