Hide Idle (>14 d.) Chans


← 2023-04-28 | 2023-04-30 → ↓
09:32 awt !!ticker btc usd
09:32 deedbot $29,401
~ 4 hours 28 minutes ~
14:01 awt Lol there appears not to be a system call to safely shutdown a udp socket causing recvfrom to return.
14:07 jonsykkel doing blocking read?
~ 16 minutes ~
14:23 awt jonsykkel: yes, in a thread.
14:24 awt seems I need to set a flag and send a udp packet to force it to check the flag and close the socket.
14:25 jonsykkel cant simply poll()?
14:26 jonsykkel thers a trick to make poll return at least
14:27 awt jonsykkel: I don't see poll() in python's socket api. I could do something with select, but trying to avoid the CPU hit of running select.
14:29 jonsykkel i se
~ 1 hours 6 minutes ~
15:35 asciilifeform http://logs.bitdash.io/pest/2023-04-29#1025748 << this is traditionally handled by firing a packet at yerself
15:35 bitbot Logged on 2023-04-29 14:01:03 awt[5]: Lol there appears not to be a system call to safely shutdown a udp socket causing recvfrom to return.
15:35 asciilifeform unblocks.
15:36 * asciilifeform notices that this was already said lel
← 2023-04-28 | 2023-04-30 → ↑