Пример #1
0
 public override VMValue Duplicate()
 {
     // TODO: design to copy the fields systematically
     VMValue_threadstart ret = new VMValue_threadstart();
     ret.CopyInternalData(this);
     return ret;
 }
Пример #2
0
 public VMValue_thread MakeThreadValue(VMValue_threadstart threadStart)
 {
     int guid = nextguid++;
     VMValue_thread ret = new VMValue_thread(guid, this, threadStart.GUID);
     allValues.Add(guid, ret);
     return ret;
 }
Пример #3
0
 public VMValue_threadstart MakeThreadStartValue(VMValue_object obj, VMValue_ftn method)
 {
     int guid = nextguid++;
     VMValue_threadstart ret = new VMValue_threadstart(guid, this, obj.GUID, method.GUID);
     allValues.Add(guid, ret);
     return ret;
 }