using System;
using System.Threading;
namespace Renci.SshNet
{
    /// 
    /// Represents instance of the SSH shell object
    /// 
    public partial class ShellStream
    {
        /// 
        /// Executes the specified action in a separate thread.
        /// 
        /// The action to execute.
        partial void ExecuteThread(Action action)
        {
            ThreadPool.QueueUserWorkItem(o => action());
        }
    }
}