Lines Matching refs:me
321 fun getAttrWord (me: thread) : Word.word =
322 RunCall.loadWord(me, threadIdFlags)
324 fun getStackSizeAsInt (me: thread) : int =
325 RunCall.loadWord(me, threadIdStackSize)
327 and getStackSize me : int option =
328 case getStackSizeAsInt me of
344 val me = self()
345 val oldValues: Word.word = getAttrWord me
347 val stack = newStackSize(attrs, getStackSizeAsInt me)
351 if stack = getStackSizeAsInt me
364 val me = self()
366 MaximumMLStack (getStackSize me) :: wordToAttrs(getAttrWord me)
528 val me = self() (* My thread id. *)
532 fun doFind [] = false | doFind(h::t) = equal(h, me) orelse doFind t
535 | removeThis (h::t) = if equal(h, me) then t else h :: removeThis t
576 threads := me :: !threads; (* Add ourselves to the list. *)