# Problems using Thread.@thread

**URL:** <https://discourse.julialang.org/t/problems-using-thread-thread/20586>\
**Category:** New to Julia\
**Tags:** multithreading\
**Created:** [February 8, 2019, 3:36pm UTC](https://discourse.julialang.org/t/problems-using-thread-thread/20586 "2019-02-08T15:36:54Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![ale](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@ale](https://discourse.julialang.org/u/ale)\
**Post date:** [February 11, 2019, 10:26am UTC](https://discourse.julialang.org/t/problems-using-thread-thread/20586/8 "2019-02-11T10:26:16Z")

</div>

@bennedich thank you for the link.  
To answer your question, this code was just a super simple example I made up to understand the basics of multi-threading. The original problem I posted is available at: [https://discourse.julialang.org/t/problems-using-pmap-and-doubt-about-the-number-of-workers-processes-to-use/20510](https://discourse.julialang.org/t/problems-using-pmap-and-doubt-about-the-number-of-workers-processes-to-use/20510)  
(See also my second comment on it, in which I provide further details).

About the link you posted, let me ask you the following. You clearly distinguish between either:

> multi-threading (single computer, multiple cores), or parallel computing (cluster, several distributed machines)

In my case I am using one multi-core computer. Does that mean that I cannot use parallel computing at all (and thus `pmap()`)?

---

_[View the full topic](https://discourse.julialang.org/t/problems-using-thread-thread/20586)._
