pragmatrix / Mom

MOnadic Machines: F# computation expressions and combinators for deterministic coordination, simulation, and testing of concurrent processes.
1 stars 0 forks source link

Be sure that finalizers can't get into a Waiting state. #13

Open pragmatrix opened 7 years ago

pragmatrix commented 7 years ago

Because of #4, which effectively limits finalizers to make synchronous requests only, finalizers that get into the waiting state should not be supported. While I doubt that this is possible on a syntactical level, a dynamic check for the waiting state in debug builds should be simple to implement.

pragmatrix commented 7 years ago

There are other sitations in which Moms are not meant to be asynchronous (waiting for something). I see two options?

I'd prefer the second option for now.