diff --git a/src/HyperFastCgi/Listeners/NativeListener.cs b/src/HyperFastCgi/Listeners/NativeListener.cs index c0081f1..260f3a4 100644 --- a/src/HyperFastCgi/Listeners/NativeListener.cs +++ b/src/HyperFastCgi/Listeners/NativeListener.cs @@ -33,7 +33,7 @@ public int Listen () int retval = NativeListener.Listen ((ushort)config.Family, config.Address, (ushort)config.Port); //retval == 0 when no error occured if (retval == 0) { - ThreadPool.QueueUserWorkItem (_ => NativeListener.ProcessLoop ()); + new Thread (_ => NativeListener.ProcessLoop ()).Start (); } return retval;