You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to call julia from a multithreaded C program.
jl_init seems to be using some global variables which is a big problem for my design .Any alternatives where I can use a local julia object for each C thread?
Is there a special reason for choosing to keep the julia variables global in C?
The text was updated successfully, but these errors were encountered:
This might be a more appropriate question for julia-users. I don't think the runtime is thread-safe yet, see #10421. The threading branch might be in a better state for that? Not sure.
@stevengj I am not sure if this is a dup of 10421 since I tracked some global variables my programs call and dont seem to be the same as the ones listed in 10421.
Hi, I have a question about calling julia from C.
I want to call julia from a multithreaded C program.
jl_init seems to be using some global variables which is a big problem for my design .Any alternatives where I can use a local julia object for each C thread?
Is there a special reason for choosing to keep the julia variables global in C?
The text was updated successfully, but these errors were encountered: