Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add on thread start callback #629

Merged
merged 1 commit into from
Aug 20, 2023
Merged

Add on thread start callback #629

merged 1 commit into from
Aug 20, 2023

Conversation

ofriedma
Copy link
Contributor

@ofriedma ofriedma commented Aug 8, 2023

Add an option of callback that the db will use before spawning a thread, potentially could be used for thread affinity

fixes: #476

@ofriedma ofriedma added the enhancement New feature or request label Aug 8, 2023
@Guyme Guyme requested a review from speedbmike August 8, 2023 14:00
@ofriedma ofriedma force-pushed the wip-ofriedma-thraff branch 6 times, most recently from cd9f56a to 3a04cf4 Compare August 14, 2023 15:37
@ofriedma ofriedma force-pushed the wip-ofriedma-thraff branch from 3a04cf4 to 70a8c54 Compare August 15, 2023 13:17
HISTORY.md Outdated
@@ -8,6 +8,11 @@

### Enhancements
* db_bench: add estimate-table-readers-mem benchmark which prints these stats.
## Grapes v2.6.0 (06/14/2023)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz remove this line

@ofriedma ofriedma force-pushed the wip-ofriedma-thraff branch from 70a8c54 to 4726df4 Compare August 17, 2023 15:44
@ofriedma ofriedma changed the title Add thread affinity callback Add on thread start callback Aug 17, 2023
@ofriedma ofriedma force-pushed the wip-ofriedma-thraff branch from 4726df4 to 0019350 Compare August 17, 2023 15:49
@ofriedma ofriedma force-pushed the wip-ofriedma-thraff branch from 0019350 to cb5eba7 Compare August 19, 2023 15:59
@ofriedma ofriedma merged commit a6e1ab2 into main Aug 20, 2023
@mrambacher
Copy link
Contributor

This fails to build on MacOS. Entered #659 to track the build issue

ofriedma added a commit that referenced this pull request Nov 22, 2023
ofriedma added a commit that referenced this pull request Nov 22, 2023
udi-speedb pushed a commit that referenced this pull request Nov 23, 2023
udi-speedb pushed a commit that referenced this pull request Dec 5, 2023
@ofriedma ofriedma deleted the wip-ofriedma-thraff branch January 3, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Shipped
Development

Successfully merging this pull request may close these issues.

Feature Request: Thread Affinity
4 participants