I used select() rather than poll() but I'm archaic. Typically the select
call was in the main loop. The timeout was often 1 second. If the call
returned a ready fd you took care of business. If it timed out, then you
process.
Without the select the main loop would chew up 100% of the CPU. Interrupt
than polling.
| Date | Sujet | # | | Auteur |
| 14 Aug 26 | Re: Manipulating C code at the AST level, in C | 74 | | Nuno Silva |
| 14 Aug 26 |  Re: Manipulating C code at the AST level, in C | 2 | | Geoff Clare |
| 14 Aug22:10 |   Re: Manipulating C code at the AST level, in C | 1 | | Lawrence D’Oliveiro |
| 15 Aug04:47 |  Re: Manipulating C code at the AST level, in C | 71 | | c186282 |
| 15 Aug08:20 |   Re: Manipulating C code at the AST level, in C | 5 | | rbowman |
| 15 Aug11:33 |    Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 16 Aug03:41 |    Re: Manipulating C code at the AST level, in C | 3 | | c186282 |
| 16 Aug09:50 |     Re: Manipulating C code at the AST level, in C | 2 | | Carlos E. R. |
| 16 Aug20:04 |      Re: Manipulating C code at the AST level, in C | 1 | | rbowman |
| 15 Aug12:07 |   Re: Manipulating C code at the AST level, in C | 2 | | Jim Jackson |
| 15 Aug12:18 |    Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 15 Aug12:20 |   Re: Manipulating C code at the AST level, in C | 63 | | Richard Kettlewell |
| 16 Aug09:59 |    Re: Manipulating C code at the AST level, in C | 55 | | Richard Kettlewell |
| 16 Aug11:42 |     Re: Manipulating C code at the AST level, in C | 54 | | The Natural Philosopher |
| 17 Aug05:02 |      Re: Manipulating C code at the AST level, in C | 53 | | c186282 |
| 17 Aug08:10 |       Re: Manipulating C code at the AST level, in C | 52 | | rbowman |
| 17 Aug09:32 |        Re: Manipulating C code at the AST level, in C | 1 | | Nuno Silva |
| 17 Aug10:13 |        Re: Manipulating C code at the AST level, in C | 50 | | The Natural Philosopher |
| 17 Aug18:15 |         Re: Manipulating C code at the AST level, in C | 2 | | rbowman |
| 17 Aug20:58 |          Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 18 Aug03:24 |         Re: Manipulating C code at the AST level, in C | 47 | | c186282 |
| 18 Aug07:17 |          Re: Manipulating C code at the AST level, in C | 8 | | rbowman |
| 19 Aug03:11 |           Re: Manipulating C code at the AST level, in C | 7 | | c186282 |
| 19 Aug05:21 |            Re: Manipulating C code at the AST level, in C | 5 | | rbowman |
| 19 Aug07:26 |             Re: Manipulating C code at the AST level, in C | 3 | | c186282 |
| 19 Aug14:29 |              Re: Manipulating C code at the AST level, in C | 2 | | The Natural Philosopher |
| 19 Aug20:36 |               Re: Manipulating C code at the AST level, in C | 1 | | rbowman |
| 19 Aug14:28 |             Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 19 Aug14:24 |            Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 18 Aug10:19 |          Re: Manipulating C code at the AST level, in C | 38 | | The Natural Philosopher |
| 19 Aug05:11 |           Re: Manipulating C code at the AST level, in C | 26 | | rbowman |
| 19 Aug05:38 |            Re: Manipulating C code at the AST level, in C | 16 | | Lawrence D’Oliveiro |
| 19 Aug07:35 |             Re: Manipulating C code at the AST level, in C | 6 | | rbowman |
| 19 Aug14:31 |              Re: Manipulating C code at the AST level, in C | 5 | | The Natural Philosopher |
| 19 Aug20:47 |               Re: Manipulating C code at the AST level, in C | 4 | | rbowman |
| 20 Aug14:04 |                [off-topic] MA 370 flight disappearance (Was: Re: Manipulating C code at the AST level, in C) | 3 | | Anton Antimo |
| 20 Aug22:11 |                 Re: [off-topic] MA 370 flight disappearance (Was: Re: Manipulating C code at the AST level, in C) | 1 | | rbowman |
| 21 Aug13:32 |                 Re: [off-topic] MA 370 flight disappearance | 1 | | The Natural Philosopher |
| 19 Aug07:39 |             Re: Manipulating C code at the AST level, in C | 1 | | rbowman |
| 19 Aug08:04 |             Re: Manipulating C code at the AST level, in C | 8 | | Lawrence D’Oliveiro |
| 19 Aug20:59 |              Re: Manipulating C code at the AST level, in C | 7 | | rbowman |
| 20 Aug01:31 |               Re: Manipulating C code at the AST level, in C | 6 | | The Natural Philosopher |
| 20 Aug04:26 |                Re: Manipulating C code at the AST level, in C | 5 | | rbowman |
| 20 Aug11:50 |                 Re: Manipulating C code at the AST level, in C | 4 | | The Natural Philosopher |
| 20 Aug12:06 |                  Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 20 Aug17:51 |                  Re: Manipulating C code at the AST level, in C | 2 | | c186282 |
| 21 Aug13:34 |                   Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 19 Aug07:30 |            Re: Manipulating C code at the AST level, in C | 1 | | rbowman |
| 19 Aug23:17 |            Re: Manipulating C code at the AST level, in C | 8 | | rbowman |
| 20 Aug01:34 |             Re: Manipulating C code at the AST level, in C | 2 | | The Natural Philosopher |
| 20 Aug04:45 |              Re: Manipulating C code at the AST level, in C | 1 | | rbowman |
| 20 Aug04:26 |             Re: Manipulating C code at the AST level, in C | 5 | | c186282 |
| 20 Aug22:40 |              Re: Manipulating C code at the AST level, in C | 4 | | rbowman |
| 21 Aug04:42 |               Re: Manipulating C code at the AST level, in C | 3 | | c186282 |
| 21 Aug07:10 |                Re: Manipulating C code at the AST level, in C | 2 | | rbowman |
| 21 Aug14:01 |                 Re: Manipulating C code at the AST level, in C | 1 | | Lars Poulsen |
| 19 Aug14:15 |           Re: Manipulating C code at the AST level, in C | 11 | | The Natural Philosopher |
| 19 Aug20:39 |            Re: Manipulating C code at the AST level, in C | 10 | | rbowman |
| 20 Aug01:25 |             Re: Manipulating C code at the AST level, in C | 8 | | The Natural Philosopher |
| 20 Aug04:56 |              Re: Manipulating C code at the AST level, in C | 7 | | rbowman |
| 20 Aug05:46 |               Re: Manipulating C code at the AST level, in C | 2 | | Lawrence D’Oliveiro |
| 20 Aug05:59 |                Re: Manipulating C code at the AST level, in C | 1 | | Lawrence D’Oliveiro |
| 20 Aug22:46 |               Re: Manipulating C code at the AST level, in C | 4 | | rbowman |
| 21 Aug05:05 |                Re: Manipulating C code at the AST level, in C | 1 | | c186282 |
| 21 Aug05:35 |                Re: Manipulating C code at the AST level, in C | 1 | | rbowman |
| 21 Aug05:54 |                Re: Manipulating C code at the AST level, in C | 1 | | c186282 |
| 20 Aug05:03 |             Re: Manipulating C code at the AST level, in C | 1 | | rbowman |
| 16 Aug20:13 |    Re: Manipulating C code at the AST level, in C | 2 | | rbowman |
| 17 Aug06:14 |     Re: Manipulating C code at the AST level, in C | 1 | | c186282 |
| 17 Aug13:44 |    Re: Manipulating C code at the AST level, in C | 5 | | Geoff Clare |
| 17 Aug15:31 |     Re: Manipulating C code at the AST level, in C | 3 | | The Natural Philosopher |
| 18 Aug13:23 |      Re: Manipulating C code at the AST level, in C | 2 | | Geoff Clare |
| 18 Aug17:16 |       Re: Manipulating C code at the AST level, in C | 1 | | The Natural Philosopher |
| 17 Aug20:27 |     Re: Manipulating C code at the AST level, in C | 1 | | Richard Kettlewell |