mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-05 21:01:44 +00:00
18b6eafaaa
Replace SemaphoreSlim with custom SemaphoreLight class
17 lines
356 B
C#
17 lines
356 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Renci.SshNet
|
|
{
|
|
/// <summary>
|
|
/// Provides functionality for remote port forwarding
|
|
/// </summary>
|
|
public partial class ForwardedPortRemote
|
|
{
|
|
partial void ExecuteThread(Action action)
|
|
{
|
|
Task.Factory.StartNew(action);
|
|
}
|
|
}
|
|
}
|