yosh on Nostr: I had a bad time with `kevent(3)` today. Apparently all the BSDs use a single syscall ...
I had a bad time with `kevent(3)` today. Apparently all the BSDs use a single syscall for both registering and waiting on events?
And depending on which arguments you pass it, it’ll either register events, or perform a blocking call?
Published at
2024-08-26 20:24:07Event JSON
{
"id": "3b21bac72853b429c904ee511c7c17f344b6d11842322b962288676f6407b69b",
"pubkey": "e1f48d2f077b0d512e8666bf7a0dddded2e443d99b0c92cecf577b4e50b86563",
"created_at": 1724703847,
"kind": 1,
"tags": [
[
"proxy",
"https://toot.yosh.is/users/yosh/statuses/113030191333795706",
"activitypub"
]
],
"content": "I had a bad time with `kevent(3)` today. Apparently all the BSDs use a single syscall for both registering and waiting on events?\n\nAnd depending on which arguments you pass it, it’ll either register events, or perform a blocking call?",
"sig": "18b4b04da2ef11566bdbe00f83b60da6c00a4267c183a1777f21095db1caf23071bf3b41f85cf1e70a33fb24983e805adae546e6dd48421c508f7166e9e17842"
}