# \#multithreading

**URL:** https://discourse.slicer.org/tag/multithreading/214.md

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

---

## [How to update widget from logic?](https://discourse.slicer.org/t/how-to-update-widget-from-logic/45671)

<div class="topic-metadata">

**Author:** [@Victor\_Wayne](https://discourse.slicer.org/u/Victor_Wayne)\
**Replies:** 4\
**Last updated:** [January 7, 2026, 3:47am UTC](https://discourse.slicer.org/t/how-to-update-widget-from-logic/45671 "2026-01-07T03:47:09Z")

</div>

I have a C++ extension module. I am doing boolean mesh operation calculation in a worker thread inside the logic module. I have a function that calculates the volume of a given segmentation node. I need it run as soon as…

---

## [Incorporating data acquisition in python automated test](https://discourse.slicer.org/t/incorporating-data-acquisition-in-python-automated-test/11844)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 2:12pm UTC](https://discourse.slicer.org/t/incorporating-data-acquisition-in-python-automated-test/11844 "2020-06-03T14:12:31Z")

</div>

Hi all, I am writing an automated workflow test that is supposed to collect some data at times. This would mean that at certain points in the test, I “let it run” until it collects a certain seconds of replayed tracked …

---

## [Running additional thread(s) for Tensorflow predictions within Slicer](https://discourse.slicer.org/t/running-additional-thread-s-for-tensorflow-predictions-within-slicer/17804)

<div class="topic-metadata">

**Author:** [@zacbaum](https://discourse.slicer.org/u/zacbaum)\
**Replies:** 5\
**Last updated:** [June 29, 2021, 8:59pm UTC](https://discourse.slicer.org/t/running-additional-thread-s-for-tensorflow-predictions-within-slicer/17804 "2021-06-29T20:59:14Z")

</div>

Hello, I am using Slicer to perform real-time (and also offline - but that is less affected by this issue) AI-based segmentation of tracked ultrasound images, while concurrently recording the images using Sequences; and…

---

## [Python non-blocking networking](https://discourse.slicer.org/t/python-non-blocking-networking/11725)

<div class="topic-metadata">

**Author:** [@talmazov](https://discourse.slicer.org/u/talmazov)\
**Replies:** 5\
**Last updated:** [May 30, 2020, 12:53am UTC](https://discourse.slicer.org/t/python-non-blocking-networking/11725 "2020-05-30T00:53:07Z")

</div>

Hey all, I’ve been pretty successful writing this socket client on slicer. it works but it is not responsive receiving the data, i imagine it is an issue with threading and blocking i start my client via a thread def …

---

## [Multithreading in extension](https://discourse.slicer.org/t/multithreading-in-extension/6941)

<div class="topic-metadata">

**Author:** [@n2018](https://discourse.slicer.org/u/n2018)\
**Replies:** 8\
**Last updated:** [May 30, 2019, 7:43pm UTC](https://discourse.slicer.org/t/multithreading-in-extension/6941 "2019-05-30T19:43:41Z")

</div>

Hello! I am trying to implement multithreading in my own extension to 3DSlicer, here is the approximate scheme: from Logic.run() ThreadA is started from ThreadA.run ThreadB is started in ThreadB.run there is infinite …
