-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented a queue of worker-records.
This performs much better than the stack of worker-records, while accomplishing the same goal. ringbuf_register() can still be called in this variant, i.e. it allows for both permanent registration of worker-records as well as temporary registration. I think the version-number in the first-used/free-worker indices are unnecessary if both indices are tracked; I also realize that the use of a first-used-worker index interferes with mixed permanent and temporary registration, but then the version-number in the worker-indices must be kept. Both variants will be tried in further commits.
- Loading branch information
Showing
5 changed files
with
203 additions
and
68 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
Oops, something went wrong.