eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Continuation':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Continuation


Inheritance:

   Object
   |
   +--Continuation

Package:
stx:libbasic
Category:
Kernel-Processes
Version:
rev: 1.16 date: 2013/07/25 09:37:35
user: cg
file: Continuation.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


Initial attempt - Unfinished.
Continuations do not work yet - there is more support needed in the VM.

[Instance variables:]

    id                     <SmallInteger>   a unique continuation-id;
                                            Used to identify a corresponding
                                            data-structure in the VM.

    process                <Process>        the process which created this continuation.

[Class variables:]


Related information:

    Process
    Context
    Block

Class protocol:

instance creation
o  current
this is called current-continuation in scheme
usage example(s):
     self current

o  currentDo: aBlock
this is is called call/cc in scheme

o  new
(comment from inherited method)
return an instance of myself without indexed variables


Instance protocol:

invocation
o  argumentCount
VisualAge/ANSI compatibility

o  numArgs

o  value

o  value: v
self terminate: thisContext.

o  valueWithArguments: v

private
o  terminate: aContext
| context |

private accessing
o  finalize

o  setId: idArg process: aProcess

restoration
o  restoreValues
| valueStream context |



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 21 Jul 2018 07:54:52 GMT