ST Questions

Fergus Henderson
Sat, 28 Jul 2001 15:25:17 +1000

On 27-Jul-2001, Ashley Yakeley <> wrote:
> Two questions on module ST:
> <>
> 1. What's the 's' parameter for?

It makes sure you don't try to use a reference obtained
from one state thread in a different state thread.

> 2. Do STRefs get garbage-collected once they're forgotten?

In any decent implementation, yes.

Fergus Henderson <>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <>  |     -- the last words of T. S. Garp.