# When using both Distributed and Threads in 1.3 how do you tell the @spawn apart?

**URL:** <https://discourse.julialang.org/t/when-using-both-distributed-and-threads-in-1-3-how-do-you-tell-the-spawn-apart/31162>\
**Category:** New to Julia\
**Created:** [November 17, 2019, 2:30am UTC](https://discourse.julialang.org/t/when-using-both-distributed-and-threads-in-1-3-how-do-you-tell-the-spawn-apart/31162 "2019-11-17T02:30:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StevenSiew](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevensiew/32/218393_2.png) [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Post date:** [November 17, 2019, 2:30am UTC](https://discourse.julialang.org/t/when-using-both-distributed-and-threads-in-1-3-how-do-you-tell-the-spawn-apart/31162/1 "2019-11-17T02:30:28Z")

</div>

When using both Distributed and Base.Threads in Julia 1.3

How do you tell the @spawn macros apart?

---

<div class="post-metadata">

**Author:** ![longemen3000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/longemen3000/32/7298_2.png) [@longemen3000](https://discourse.julialang.org/u/longemen3000)\
**Post date:** [November 17, 2019, 2:36am UTC](https://discourse.julialang.org/t/when-using-both-distributed-and-threads-in-1-3-how-do-you-tell-the-spawn-apart/31162/2 "2019-11-17T02:36:58Z")

</div>

It’s replaced in julia 1.3 by `Distributed.@spawnat`
