Hello,

First I'd like to thank Marc for what is an excellent high performance
library. Thanks!

My question is as follows: it appears like certain watchers have no
identifier (particularly, async and timer). How is one supposed to deal
with having many of these? By creating a different callback function for
each? I'm asking because in my application I might have many (run time)
timers, and it would be quite convenient for all of them to have the same
callback, where one of the parameters is a unique identifier.

Am I going about this the wrong way? is there a way of adding so-called
"user data" to a callback?

Thanks,
David
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to