-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(channel): hooks to avoid spinning wait (#486)
* wip: using ChannelHooks and SocketPIpe * fixing SocketPipe usage * more SendSignal uses + fix Channel lifetimes * fix some hooks & exit conditions * style guide + turbine recv pipe cleanup * fix SendSignal lifetimes/initialization * embed ResetEvent in Channel replaces SendSignal * zig fmt * fix style * review fixes * channel.wait -> waitToReceive & check isEmpty * rename SocketPIpe to SocketThread - `init{Sender/Receiver}` -> `spawn{Sender/Receiver}` - `deinit(allocator)` -> `join()` also fixes Channel "send hook" tests after beforeSend was removed * remove NUM_TVU_RECEIVERS constant the number of turbine receivers was reduced to 1. Discussion: #486 (comment) * simplify turbine/repair socket thread handling * use channel wait in geyser + fix retransmitShreds comment
- Loading branch information
Showing
14 changed files
with
382 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.