Shutdown signals

Tim tim.oliver at tutanota.com
Tue May 11 22:33:52 UTC 2021


On Tuesday, 11 May 2021 at 06:59:10 UTC, Patrick Schluter wrote:
> On Tuesday, 11 May 2021 at 06:44:57 UTC, Tim wrote:
>> On Monday, 10 May 2021 at 23:55:18 UTC, Adam D. Ruppe wrote:
>>> [...]
>>
>> I don't know why I didn't find that. I was searching for the 
>> full name, maybe too specific? Thanks anyways, this is super 
>> helpful. I wish it was documented better though :(
>>
>> So why use sigaction and not signal? From what I can tell 
>> signal is the C way of doing things
>
> Use `sigaction()`, `signal()` has problems. See this 
> stackoverflow [1] question explains the details
>
> [1]: 
> https://stackoverflow.com/questions/231912/what-is-the-difference-between-sigaction-and-signal

Thanks a lot!


More information about the Digitalmars-d-learn mailing list