https://github.com/JuliaLang/julia
Revision 3d88550124d30ac88fd68a851df2a67216a5854b authored by Gabriel Baraldi on 06 September 2023, 10:35:01 UTC, committed by GitHub on 06 September 2023, 10:35:01 UTC
This avoids a crashes where we run the destructors because C++ is fun
and runs destructors before thread exit.
1 parent f9d1767
Raw File
Tip revision: 3d88550124d30ac88fd68a851df2a67216a5854b authored by Gabriel Baraldi on 06 September 2023, 10:35:01 UTC
Wait for other threads to finish compiling before exiting (#51213)
Tip revision: 3d88550
ccalllazyfoo.c
// This file is a part of Julia. License is MIT: https://julialang.org/license

#include "ccalltest_common.h"

DLLEXPORT int foo(int a) {
    return a*2;
}
back to top