You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it helps channels match with promises better. (e.g. a promise can have multiple .then functions waiting. A channel can too, but only one of them runs on put)
Each time around the loop, the Vat-thread extracts a pending delivery from the queue, and calls the recipient with the message. This top-level call executes to completion before the next pending delivery is processed. The synchronous computation performed in service of a single pending delivery is a turn. -- The Vat
Hm... vat turns are supposed to be transactional too. No messages can be released until state is committed, lest we suffer hangover inconsistency.
The text was updated successfully, but these errors were encountered:
vats are islands of synchrony. translated js functions should grab a lock on the vat queue.
this should help with #10 too.
I wonder if it helps channels match with promises better. (e.g. a promise can have multiple .then functions waiting. A channel can too, but only one of them runs on put)
Hm... vat turns are supposed to be transactional too. No messages can be released until state is committed, lest we suffer hangover inconsistency.
The text was updated successfully, but these errors were encountered: