# Multiple Julia instances in a C++ software

**URL:** <https://discourse.julialang.org/t/multiple-julia-instances-in-a-c-software/23961>\
**Category:** General Usage\
**Created:** [May 7, 2019, 11:26am UTC](https://discourse.julialang.org/t/multiple-julia-instances-in-a-c-software/23961 "2019-05-07T11:26:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jeff.bezanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff.bezanson/32/48_2.png) [@jeff.bezanson](https://discourse.julialang.org/u/jeff.bezanson)\
**Post date:** [May 7, 2019, 3:03pm UTC](https://discourse.julialang.org/t/multiple-julia-instances-in-a-c-software/23961/2 "2019-05-07T15:03:21Z")

</div>

I understand that such use cases exist, but I’m tempted to respond with “can I run multiple instances of a C++ library within julia?” 🙂

I think the way forward here would be to try to leverage julia’s multithreading. If the threads are started by C++, we could add an API to notify julia about the threads so it can execute on them. Does that sound sufficient?

---

_[View the full topic](https://discourse.julialang.org/t/multiple-julia-instances-in-a-c-software/23961)._
