For your own sanity, you want some control over which thread is processing a packet, and at what point it does so.
For your own sanity, you want some control over which thread is processing a packet, and at what point it does so. The easiest way to do this is to explicitly notify the kernel when you are in fact interested in another packet, and whether you wish your thread of control to be suspended until such a packet arrives if there is no next packet. The JavaScript model of "call some callback when the currently-executing function returns" doesn't work, because C is not event-based. The embedded model of "interrupt whatever's happening and invoke some handler on the current thread of control" is just an absolute nightmare to deal with.
Posted by colanderman on Jun 16, 2015, 5:35 PM
Tags
Related issues
- The other day I saw the last episodes of The Office again.
- > someone has made the wrong editor choice Just the other day I made this comment on the topic of "nvim vs emacs", I think it fits here ...
- GLES isn't a bad way to teach graphics but I wish there was a middle ground between it and VK.
- > [Edit: note that the above video is "content" so if you're not used to the style it might be offputting but I'm into it] I hate that i...
- And thats why its a large language model not a large skin cancer recognition model or large creative thinking model I hate that people th...
- I hate that this article is talking about Photocraft killing Photoshop because of AI as though Ivan Kutskir didn't build Photopea years a...
Raise real-world problems, find people facing the same issue, and discuss solutions.6,000 issues0 comments
complaint (Other)
The other day I saw the last episodes of The Office again.
New> someone has made the wrong editor choice Just the other day I made this comment on the topic of "nvim vs emacs", I think it fits here ...
NewGLES isn't a bad way to teach graphics but I wish there was a middle ground between it and VK.
> [Edit: note that the above video is "content" so if you're not used to the style it might be offputting but I'm into it] I hate that i...
And thats why its a large language model not a large skin cancer recognition model or large creative thinking model I hate that people th...
I hate that this article is talking about Photocraft killing Photoshop because of AI as though Ivan Kutskir didn't build Photopea years a...
That's a fair complaint, but for the most part that only applies to the faces (which would be an absolute nightmare to hand animate in sy...
I wish there was something that could be done beyond feeling powerless.
For your own sanity, you want some control over which thread is processing a packet, and at what point it does so.
For your own sanity, you want some control over which thread is processing a packet, and at what point it does so. The easiest way to do this is to explicitly notify the kernel when you are in fact interested in another packet, and whether you wish your thread of control to be suspended until such a packet arrives if there is no next packet. The JavaScript model of "call some callback when the currently-executing function returns" doesn't work, because C is not event-based. The embedded model of "interrupt whatever's happening and invoke some handler on the current thread of control" is just an absolute nightmare to deal with.
Comments (0)
No comments yet. Start the discussion.