Calling Julia function from Python Threads runs for forever
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I am importing a Python script into my Julia code. I am then trying to call a Julia function within a Multi-threading Python process, which leads to a Deadlock. How can I adapt the Julia Code to be able to call Python with Multi-threading?
My example code:
https://github.com/JulesBlubb/Julia-Multithreading-Problem
System Details:
- Ubuntu 19.10
- Julia 1.3.1 with Pycall v1.91.4
- Python: 3.6.5
Thank you.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start with the reproduction linked in JulesBlubb/Julia-Multithreading-Problem and run it with Julia 1.3.1, PyCall v1.91.4, and Python 3.6.5. Trace the Julia/Python threading interaction and verify that the example completes without deadlocking.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia, python
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100