Beispiel #1
0
Datei: join.c Projekt: xyuan/ug
void ddd_JoinExit (void)
{
  /* set kind of TMEM alloc/free requests */
  join_SetTmpMem(TMEM_ANY);


  /* TODO data (e.g., lists&trees of JI-items) should be freed!! */
}
Beispiel #2
0
Datei: jcmds.c Projekt: rolk/ug
void DDD_JoinBegin (void)
#endif
{
    /* step mode and check whether call to JoinBegin is valid */
    if (!JoinStepMode(JMODE_IDLE))
    {
        DDD_PrintError('E', 7010, "DDD_JoinBegin() aborted");
        HARD_EXIT;
    }


    /* set kind of TMEM alloc/free requests */
    join_SetTmpMem(TMEM_JOIN);
}
Beispiel #3
0
Datei: join.c Projekt: xyuan/ug
void ddd_JoinInit (void)
{
  /* set kind of TMEM alloc/free requests */
  join_SetTmpMem(TMEM_ANY);

  /* init control structures for JoinInfo-items in messages */
  joinGlobals.setJIJoin    = New_JIJoinSet();
  joinGlobals.setJIAddCpl2 = New_JIAddCplSet();
  joinGlobals.setJIAddCpl3 = New_JIAddCplSet();

  JoinSetMode(JMODE_IDLE);

  joinGlobals.phase1msg_t = LC_NewMsgType("Join1Msg");
  joinGlobals.jointab_id = LC_NewMsgTable("GidTab",
                                          joinGlobals.phase1msg_t, sizeof(TEJoin));

  joinGlobals.phase2msg_t = LC_NewMsgType("Join2Msg");
  joinGlobals.addtab_id = LC_NewMsgTable("AddCplTab",
                                         joinGlobals.phase2msg_t, sizeof(TEAddCpl));

  joinGlobals.phase3msg_t = LC_NewMsgType("Join3Msg");
  joinGlobals.cpltab_id = LC_NewMsgTable("AddCplTab",
                                         joinGlobals.phase3msg_t, sizeof(TEAddCpl));
}