Re: Manipulating C code at the AST level, in C
The Natural Philosopher <[email protected]>
| Newsgroups | comp.os.linux.misc |
|---|---|
| Organization | A little, after lunch |
| Message-ID | <[email protected]> |
On 18/08/2026 13:23, Geoff Clare wrote: > The Natural Philosopher wrote: > >> On 17/08/2026 13:44, Geoff Clare wrote: >>> >>> Quoting from the SUS at the previously-given URL: >>> >>> To effect a poll, the application shall ensure that the timeout >>> argument for poll() is 0, or for ppoll() is not a null pointer and >>> points to a zero-valued timespec structure. >>> >> Poll means head you know. As in poll tax, Red poll cattle >> >> I am very uncertain in this contex that it means what you think it means > > Well, the context is computing and https://foldoc.org/poll says: > > poll > To check the status of an input line, sensor, or memory location to > see if a particular external event has been registered. > Indeed. but mostly what you do is have an interrupt service routine do that whilst the computer gets on with 'other stuff', The ISR may be a timer like in a multitasking scheduler or it may be triggered by the hardware. What no computer more advanced than a single thread microcontroller ever does is 'poll' the hardware with ISRs disabled -- New Socialism consists essentially in being seen to have your heart in the right place whilst your head is in the clouds and your hand is in someone else's pocket.