Skip to content

Dynamic event pools#771

Merged
pvelesko merged 19 commits intomainfrom
dynamic-event-pools
Feb 20, 2024
Merged

Dynamic event pools#771
pvelesko merged 19 commits intomainfrom
dynamic-event-pools

Conversation

@pvelesko
Copy link
Collaborator

@pvelesko pvelesko commented Feb 13, 2024

  • Fix event refcounts

  • Switch to using an event stack for handling events inside an event pool

  • Event pools now start small and double as needed to prevent generation of many events for small test cases

  • Get rid of CallbackEventMonitor and use a single thread to handle all other activities such as event monitoring, callbacks, event pool management (if needed in the future)

  • replace all "Event use after delete" asserts with a new function isDeletedSanityCheck() which does nothing in Release. Call this function at every event member function.

  • check.py add --total-runtime=x option. Given a number of minutes, run tests once to estimate the runtime and then calculate the --num-tries to fill the time allotted.

@pvelesko pvelesko marked this pull request as draft February 13, 2024 07:14
@pvelesko pvelesko force-pushed the dynamic-event-pools branch 3 times, most recently from 56c8894 to c62f1c9 Compare February 19, 2024 05:41
@pvelesko pvelesko marked this pull request as ready for review February 19, 2024 07:24
@pvelesko pvelesko force-pushed the dynamic-event-pools branch from c62f1c9 to 07375a7 Compare February 20, 2024 03:22
as opposed to using multiple threads for calblacks and event monitoring
@pvelesko pvelesko merged commit d1be342 into main Feb 20, 2024
@pvelesko pvelesko deleted the dynamic-event-pools branch February 23, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant