Hey, thanks for the idea. After some stumbling through documentation and other
posts, I got it working. The two biggest problems were finding a way to define
SIG_IGN to prevent default handling of the signal, and I didn’t know that I had
to use a global queue with a custom run loop or use disp
Ah, interesting. I'll give that a shot, thanks.
> On May 24, 2015, at 08:58, Stephen J. Butler wrote:
>
> I think you should use GCD by creating a dispatch source of type
> DISPATCH_SOURCE_TYPE_SIGNAL (the handle is the signal enum, eg
> SIGTERM), add an event handler, and then resume it.
>
>>
I think you should use GCD by creating a dispatch source of type
DISPATCH_SOURCE_TYPE_SIGNAL (the handle is the signal enum, eg
SIGTERM), add an event handler, and then resume it.
On Sun, May 24, 2015 at 10:40 AM, Randy Widell wrote:
> I’m messing around with Swift to create a network server daem