Searched refs:thread (Results 1 – 7 of 7) sorted by relevance
25 var thread = new Thread(() => res = func()) in TryExecute()30 thread.Start(); in TryExecute()31 var finished = thread.Join(timeout); in TryExecute()35 thread.Interrupt(); in TryExecute()37 thread.Abort(); in TryExecute()
61 if(thread != null) in Pause()64 thread.Join(); in Pause()65 thread = null; in Pause()86 if(thread == null) in Resume()89 thread = new Thread(() => TransmitLoop(cancellationTokenSource.Token)) in Resume()94 thread.Start(); in Resume()104 public bool IsPaused => thread == null;308 private Thread thread; field in Antmicro.Renode.HostInterfaces.Network.WindowsTapInterface
107 thread = new Thread(() => TransmitLoop(cts.Token)) in Resume()112 thread.Start(); in Resume()282 private Thread thread; field in Antmicro.Renode.HostInterfaces.Network.LinuxTapInterface
131 thread = new Thread(() => TransmitLoop(cancellationTokenSource.Token)) in StartTransmitThread()136 thread.Start(); in StartTransmitThread()185 private Thread thread; field in Antmicro.Renode.Peripherals.CAN.SocketCANBridge
299 …var thread = machine.ObtainManagedThread(feedSample, frequency, "RESD stream thread", owner, stopC… in StartSampleFeedThread()302 thread.StartDelayed(delayInterval); in StartSampleFeedThread()303 managedThreads.Add(thread); in StartSampleFeedThread()304 return thread; in StartSampleFeedThread()309 foreach(var thread in managedThreads) in Dispose()311 thread.Dispose(); in Dispose()
180 IManagedThread thread = null; in SendBytes()181 thread = machine.ObtainManagedThread(() => in SendBytes()192 thread.Stop(); in SendBytes()195 thread.Start(); in SendBytes()
150 private void StopThread(ref IManagedThread thread) in StopThread() argument152 thread?.Stop(); in StopThread()153 thread = null; in StopThread()