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 initial draft for background operation (loading the state and activate the plugin from a background thread) #343

Open
wants to merge 9 commits into
base: next
Choose a base branch
from
2 changes: 2 additions & 0 deletions include/clap/ext/draft/background-operation.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ improve the loading time.
Concurrency isn't a trivial thing, and this extension should only be implemented if the plugin has
expensive tasks to perform during load state or activate.

Implementing this extension implies that plugin->activate() can be called from a [bgop-thread].
abique marked this conversation as resolved.
Show resolved Hide resolved

Here is how this extension works:

1. Check which operation can be performed in background
Expand Down