Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Griffin
VTK
Commits
a5be29f7
Commit
a5be29f7
authored
2 years ago
by
Yohann Bearzi (Kitware)
Browse files
Options
Downloads
Patches
Plain Diff
vtkThreadedCallbackQueue: adding a .md file
parent
b966f916
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/release/dev/add-ThreadedCallbackQueue.md
+11
-0
11 additions, 0 deletions
Documentation/release/dev/add-ThreadedCallbackQueue.md
with
11 additions
and
0 deletions
Documentation/release/dev/add-ThreadedCallbackQueue.md
0 → 100644
+
11
−
0
View file @
a5be29f7
## Add vtkThreadedCallbackQueue
`vtkThreadedCallbackQueue`
is a new utility in VTK that allows to run functions in the background on
different threads. They are popped from the queue and invoked when a thread is available.
You can add any kind of functions with parameters to the queue using the
`Push`
method.
Controls are provided to change the number of threads, start and stop the queue. Note that all
controls run asynchronously. For example, the
`Stop`
method will likely end before the queue
is actually
stopped. This allows to change this queue's state without blocking the main pipeline. If it were not
the case, a heavy job currently running could make calling
`Stop`
potentially very long to execute.
Controls are serially run in the background by a dedicated thread.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment