JuliaPy / JuliaPy/PyCall.jl

Calling Julia function from Python Threads runs for forever

Ouverte
#765 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
1.5k
Forks
186
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia, python
Domaine
tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.