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

c-api: support yielding in wasmtime_store_epoch_deadline_callback #7476

Merged
merged 5 commits into from
Nov 6, 2023

Conversation

rockwotj
Copy link
Contributor

@rockwotj rockwotj commented Nov 3, 2023

Allow supporting yielding in the epoch callback in addition to continuing, additionally support a finalizer, as that is the "standard" approach to the C API. Happy to take suggestion on API alternatives.

@rockwotj rockwotj requested a review from a team as a code owner November 3, 2023 16:55
@rockwotj rockwotj requested review from fitzgen and removed request for a team November 3, 2023 16:55
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
@rockwotj
Copy link
Contributor Author

rockwotj commented Nov 3, 2023

Fixed cargo fmt

@rockwotj
Copy link
Contributor Author

rockwotj commented Nov 3, 2023

Force push: Fixed linter warning for dead code and moved the CallbackDataPtr struct now that it's not used in store.rs

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
@rockwotj
Copy link
Contributor Author

rockwotj commented Nov 3, 2023

Force push: Fix typedef (it's not a C++ using def...)

@github-actions github-actions bot added the wasmtime:c-api Issues pertaining to the C API. label Nov 3, 2023
Copy link

github-actions bot commented Nov 3, 2023

Subscribe to Label Action

cc @peterhuene

This issue or pull request has been labeled: "wasmtime:c-api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:c-api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@alexcrichton alexcrichton added this pull request to the merge queue Nov 4, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 4, 2023
rockwotj and others added 3 commits November 4, 2023 14:09
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
@alexcrichton alexcrichton added this pull request to the merge queue Nov 6, 2023
Merged via the queue into bytecodealliance:main with commit 28fd6bf Nov 6, 2023
40 checks passed
@rockwotj rockwotj deleted the epoch branch November 6, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:c-api Issues pertaining to the C API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants