vizzini := Object clone
vizzini talk := method(
"Fezzik, are there tocks ahead?" println
yield // 自动挂起当前进程, 并把控制权转到另一进程当中
"No more rhymes now, I mean it." println
yield)
fezzik := Object clone
fezzik rhymes := method(
yield
"If there are, we'll all be dead." println
yield
"Anybody want a peanut?" println)
vizzini @@talk; fezzik @@rhymes // 通过在消息前加上@或@@,你可以异步触发消息
Coroutine currentCoroutine pause // pause用来等待所有消息指向完毕,然后剔除程序