ForwardedPortRemote.NET40.cs 364 B

12345678910111213141516
  1. using System;
  2. using System.Threading;
  3. namespace Renci.SshNet
  4. {
  5. /// <summary>
  6. /// Provides functionality for remote port forwarding
  7. /// </summary>
  8. public partial class ForwardedPortRemote
  9. {
  10. partial void ExecuteThread(Action action)
  11. {
  12. ThreadPool.QueueUserWorkItem(o => action());
  13. }
  14. }
  15. }