# Importing SharedArray module

**URL:** <https://discourse.julialang.org/t/importing-sharedarray-module/44953>\
**Category:** General Usage\
**Tags:** question, parallel, multithreading, module, distributed\
**Created:** [August 14, 2020, 7:37pm UTC](https://discourse.julialang.org/t/importing-sharedarray-module/44953 "2020-08-14T19:37:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trathi](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@trathi](https://discourse.julialang.org/u/trathi)\
**Post date:** [August 14, 2020, 7:37pm UTC](https://discourse.julialang.org/t/importing-sharedarray-module/44953/1 "2020-08-14T19:37:01Z")

</div>

I understand that we need `@everywhere` before any functions or modules that we want to make available to all the processes. My question is if need to have `@everywhere` before importing the SharedArrays module as well, i.e., `@everywhere using SharedArrays` or just `using SharedArrays` suffice? Both of them seems to be working fine, but what’s the _correct way_?

---

<div class="post-metadata">

**Author:** ![trathi](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@trathi](https://discourse.julialang.org/u/trathi)\
**Post date:** [August 21, 2020, 2:43am UTC](https://discourse.julialang.org/t/importing-sharedarray-module/44953/2 "2020-08-21T02:43:31Z")

</div>

Refer to the discussion [here](https://github.com/JuliaLang/julia/issues/37060).
