]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/threads/threads.factor
VM: removing the get_datastack/retainstack/callstack primitives
[factor.git] / basis / threads / threads.factor
index ac23f04035bb5688e52dd37bb621f550a088e4a4..af9ca5c1ed7ac44c05a974058fa861cb8c8dfef5 100644 (file)
@@ -13,16 +13,11 @@ PRIMITIVE: (set-context-and-delete) ( obj context -- * )
 PRIMITIVE: (sleep) ( nanos -- )
 PRIMITIVE: (start-context) ( obj quot -- obj' )
 PRIMITIVE: (start-context-and-delete) ( obj quot -- * )
-PRIMITIVE: callstack-for ( context -- array )
+
 PRIMITIVE: context-object-for ( n context -- obj )
-PRIMITIVE: datastack-for ( context -- array )
-PRIMITIVE: retainstack-for ( context -- array )
 
 ! Wrap sub-primitives; we don't want them inlined into callers
 ! since their behavior depends on what frames are on the callstack
-: context ( -- context )
-    CONTEXT-OBJ-CONTEXT context-object ; inline
-
 : set-context ( obj context -- obj' )
     (set-context) ; inline