Skip to content

Conversation

coot
Copy link
Collaborator

@coot coot commented Nov 3, 2023

  • io-sim: traceTVar for registerDelay tvars
  • io-sim: labelTVarIO and traceTVarIO in ST
  • io-sim: don't print the same trace twice
  • io-sim: code style
  • io-sim: pretty printers

coot added 4 commits November 3, 2023 16:38
As consequence we also change that `execAtomically'` like
`execActomically` does not executes `commitTVar`, otherwise we'd get
an error when calling `traceTVarST`.
Implemented both calls using `LiftST` rather than executing an `STM`
transaction.  The primary benefit is a simpler trace.
@coot coot requested a review from bolt12 November 3, 2023 15:40
* ppSimEventType: print `Races` without duplicating `Races` twice.
* ppEffect: avoid printing dangling commas.
* ppSimResult: added
* MainReturn, MainException: include `Labeled IOSimThreadId`, this is
  a cosmetic change which makes the final message of simulation fit into
  the same style as other messages.
@coot coot force-pushed the coot/io-sim-changes branch from 6b94cdc to 892ddb4 Compare November 3, 2023 15:44
@coot coot enabled auto-merge November 3, 2023 16:42
@coot coot self-assigned this Nov 3, 2023
@coot coot added this pull request to the merge queue Nov 3, 2023
Merged via the queue into main with commit 1b5f5cc Nov 3, 2023
@coot coot deleted the coot/io-sim-changes branch November 3, 2023 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants