Compare commits
No commits in common. "acacfbe18856a6dc24746d0c049334a06e20b645" and "471c2c17560e19dc7118fcf787b1f431054aec4c" have entirely different histories.
acacfbe188
...
471c2c1756
@ -134,13 +134,13 @@ TerminateBasicRuntime()
|
|||||||
std::mutex init_lock;
|
std::mutex init_lock;
|
||||||
std::condition_variable init_cv;
|
std::condition_variable init_cv;
|
||||||
std::thread *lib_thread;
|
std::thread *lib_thread;
|
||||||
const char *my_argv[1] = {"unknown"};
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Init(int argc, char **argv, std::function<int(int, char **)> cb)
|
Init(int argc, char **argv, std::function<int(int, char **)> cb)
|
||||||
{
|
{
|
||||||
std::unique_lock<std::mutex> _(init_lock);
|
std::unique_lock<std::mutex> _(init_lock);
|
||||||
assert(!lib_thread && "ReInitialize!!!");
|
assert(!lib_thread && "ReInitialize!!!");
|
||||||
|
const char *my_argv[1] = {"unknown"};
|
||||||
|
|
||||||
if (!argv) {
|
if (!argv) {
|
||||||
argc = 1;
|
argc = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user