Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Programming Language : Tint Reference : Contexts : tint.thread

Syntax

#(tint.thread,%setup)
#(tint.thread,%setup,%forever)

%setup optionally specifies the value to be evaluated once by the context. %forever optionally specifies the value to be repeatedly evaluated by the context.

A new context will be created and run on a new thread. The name of the new context will be returned. Freeing the context will cause the thread to exit.

Syntax

#(tint.thread,(#(def,c,0)),(#(=,#(c),100,(#(#(tint.context).free)),(#(def,c,#(+,#(c),1))))))
context-8
#(c)
100