Hi,

It is possible to use Mono.Tasklets from IronPython?  I assume not, but I
just wanted to confirm this.  This example does not seem to work:

import clr
clr.AddReference('/usr/local/lib/mono/2.0/Mono.Tasklets.dll')
from Mono.Tasklets import Continuation

c = Continuation()
c.Mark()

foo = 123
val = c.Store(0)
print "{0} {1}".format(val, foo)
foo = 345
if (val < 5):
    c.Restore(val + 1)

Best,
Tristan
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to