# Julia 1.7 says it can switch the thread your task is on. How often does that happen, and how can it be disabled?

**URL:** <https://discourse.julialang.org/t/julia-1-7-says-it-can-switch-the-thread-your-task-is-on-how-often-does-that-happen-and-how-can-it-be-disabled/75373>\
**Category:** General Usage\
**Tags:** task, threads\
**Created:** [January 28, 2022, 2:54pm UTC](https://discourse.julialang.org/t/julia-1-7-says-it-can-switch-the-thread-your-task-is-on-how-often-does-that-happen-and-how-can-it-be-disabled/75373 "2022-01-28T14:54:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [January 28, 2022, 2:57pm UTC](https://discourse.julialang.org/t/julia-1-7-says-it-can-switch-the-thread-your-task-is-on-how-often-does-that-happen-and-how-can-it-be-disabled/75373/2 "2022-01-28T14:57:46Z")

</div>

See [Thread affinitization: pinning Julia threads to cores - #5 by carstenbauer](https://discourse.julialang.org/t/thread-affinitization-pinning-julia-threads-to-cores/58069/5)

---

_[View the full topic](https://discourse.julialang.org/t/julia-1-7-says-it-can-switch-the-thread-your-task-is-on-how-often-does-that-happen-and-how-can-it-be-disabled/75373)._
