示例#1
0
 public void Dispose()
 {
     _native.EndTask(_domain, 0);
 }
示例#2
0
 public void SubmitTask(string name, ulong timeStamp, ulong dur, ulong id = 0, Task parent = null)
 {
     Native.BeginTask(_domainPointer, id, parent?.Id ?? 0, name, timeStamp);
     Native.EndTask(_domainPointer, timeStamp + dur);
 }