src/openSourceC.DotNetLibrary.Core/Threading/ServiceThreadSet.cs
/// <summary>
///		Blocks the calling thread until each thread represented by this instance terminates,
///		while continuing to perform standard COM and SendMessage pumping.
/// </summary>
Blocks the calling thread until each thread represented by this instance terminates,
while continuing to perform standard COM and SendMessage pumping.
Blocks the calling thread until each thread represented by this instance terminates while continuing to perform standard COM and SendMessage pumping .
public void Join()
		{
			lock (((ICollection)_serviceThreads).SyncRoot)
			{
				foreach (ServiceThread serviceThread in _serviceThreads.Values.ToArray())
				{
					serviceThread.Thread.Join();
					_serviceThreads.Remove(serviceThread.InstanceId);
				}
			}
		}
public void Join ( ) { lock ( ( ( ICollection ) _serviceThreads ) . SyncRoot ) { foreach ( ServiceThread serviceThread in _serviceThreads . Values . ToArray ( ) ) { serviceThread . Thread . Join ( ) ; _serviceThreads . Remove ( serviceThread . InstanceId ) ; } } }
Blocks the calling thread until each thread represented by this instance terminates,
while continuing to perform standard COM and SendMessage pumping.
Blocks the calling thread until each thread represented by this instance terminates while continuing to perform standard COM and SendMessage pumping .