Sharpen.ThreadPoolExecutor.Execute C# (CSharp) Method

Execute() public method

public Execute ( Runnable r ) : void
r Runnable
return void
		public void Execute (Runnable r)
		{
			InternalExecute (r, true);
		}
		

Usage Example

		public void ExecuteTest ()
		{
			ThreadPoolExecutor executor = new ThreadPoolExecutor (10, Executors.DefaultThreadFactory ());
			executor.Execute (new RunnableAction (delegate {
				Console.WriteLine ("Yarrrrr!");
			}));
		}