source/train/XWorkerJob.cpp
bool XWorkerJob::AddJobRecord(XNNRecord * serverRecord)
{
    XList args;
    args.Add(this);
    args.Add(serverRecord);

    if (isInstantRun)
        XWorkerJob::RecordMeStatic(&args);
    else
        queue.EnqueueJob((void*)(char*)XWorkerJob::RecordMeStatic, &args);

    return true;
}
/* 
add a new job of recording the running of the nerual network 
>> serverRecord - the model record on the server side
*/
add a new job of recording the running of the nerual network
>> serverRecord - the model record on the server side
add a new job of recording the running of the nerual network >> serverRecord - the model record on the server side
bool XWorkerJob::AddJobRecord(XNNRecord * serverRecord)
{
    XList args;
    args.Add(this);
    args.Add(serverRecord);
    if (isInstantRun)
        XWorkerJob::RecordMeStatic(&args);
    else
        queue.EnqueueJob((void*)(char*)XWorkerJob::RecordMeStatic, &args);
    return true;
}
bool XWorkerJob :: AddJobRecord ( XNNRecord * serverRecord ) { XList args ; args . Add ( this ) ; args . Add ( serverRecord ) ; if ( isInstantRun ) XWorkerJob :: RecordMeStatic ( & args ) ; else queue . EnqueueJob ( ( void * ) ( char * ) XWorkerJob :: RecordMeStatic , & args ) ; return true ; }
add a new job of recording the running of the nerual network
>> serverRecord - the model record on the server side
add a new job of recording the running of the nerual network >> serverRecord - the model record on the server side