コード例 #1
0
ファイル: pins2lts-sym.c プロジェクト: alaarman/ltsmin
VOID_TASK_1(init_hre, hre_context_t, context)
{
    if (LACE_WORKER_ID != 0) {
        HREprocessSet(context);
        HREglobalSet(context);
    }
}
コード例 #2
0
ファイル: hre_pthread.c プロジェクト: graydon/ltsmin
static void* thread_main(void*arg){
    hre_context_t context=(hre_context_t)arg;
    HREprocessSet(context);
    HREglobalSet(context);
    set_label("%s(%2d/%2d)",HREappName(),HREme(context),HREpeers(context));
    Debug("calling main...");
    int argc=1;
    char *argv[2]={strdup(HREpathName()),NULL};
    main(argc,argv);
    return NULL;
}
コード例 #3
0
ファイル: pins2lts-sym.c プロジェクト: alaarman/ltsmin
static void 
init_hre(hre_context_t context)
{       
    HREprocessSet(context);
    HREglobalSet(context); 
}