• Philip Withnall's avatar
    agent: Add nice_agent_recv() allowing blocking receives on sockets · 243c47ec
    Philip Withnall authored
    This is a blocking receive function, designed to be called from a worker
    thread. It cannot be used in conjunction with the existing
    nice_agent_attach_recv() API, as the blocking receive and the GSource
    would compete over access to the single copy of the data in the kernel’s
    receive buffer.
agent.c 103 KB