Live data from Hacker News

Viewing profile — tlsalmin

tlsalmin

HN member
Joined
Thu, Feb 17, 2022, 6:40 PM UTC
HN karma
17
Public activity
5 items

About tlsalmin

No profile information was provided.

Recent public activity

  1. comment
    Comment #42144965

    First nitpick: static int pipe_fd[2] = {0}; 0 is valid fd, so I recommend initializing fds to -1. signalfd was just off-hand mentioned, but for writing anything larger, like lets s…

  2. comment
    Comment #33304984

    This is getting into taste territory but sure just getting the signal in epoll_pwait removes the need for FD reading. But introduces the need for the thread local global context an…

  3. comment
    Comment #33302502

    I have to disagree here. Not recommending signalfd for the mentioned use cases might be reasonable, just as reasonable as it is to use threads for a specific use case. For a single…

  4. comment
    Comment #33300570

    Just skimmed through the article, since I'm just here to testify that the most important revelation for me on writing APIs was that you can put and epoll_fd in an epoll_fd. This al…

  5. comment
    Comment #30376927

    This is why I opted for Shelly on my house build. The dimmers keep dimming and everything works regularly without a hub/HA/Wifi. Leaving the modules inside the light switches. No n…