Mono.Debugger.Soft.Connection.receiver_thread_main C# (CSharp) Method

receiver_thread_main() public method

public receiver_thread_main ( ) : void
return void
		void receiver_thread_main () {
			while (true) {
				try {
					bool res = ReceivePacket ();
					if (!res)
						break;
				} catch (Exception ex) {
					Console.WriteLine (ex);
					break;
				}
			}

			lock (reply_packets_monitor) {
				disconnected = true;
				Monitor.PulseAll (reply_packets_monitor);
			}
			EventHandler.VMDisconnect (0, 0, null);
		}
Connection