tag:blogger.com,1999:blog-2797923531103204252.post-60669375880812795522008-09-11T02:56:00.000+02:002008-09-11T02:56:00.000+02:002008-09-11T02:56:00.000+02:00EV_PERSIST works.1. according to documentation EV_...EV_PERSIST works.1. according to documentation EV_TIMEOUT results in an automatic event_del()2. timeout set to zero is a bad ideaTry this code:int counter = 0;struct timeval tv = {1,1};struct event ev;void handler(int fd, short event, void *ud){// event_add(&ev, &tv); counter++; printf("%x, x\n", event); if(counter > 10) exit(0);}int main(){ event_init(); event_set(&evDalibor (dast_at_panelnet.cz)noreply@blogger.com