[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Multiple timers handling
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] Multiple timers handling
- From: Venkatesh Solaiyappan <sovenkat@xxxxxxxxx>
- Date: Fri, 29 Jan 2010 09:17:31 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Fri, 29 Jan 2010 12:17:38 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=zJRhOuMxHe67AG5NmFyQ1iEVg9LOR2trNesdvCvihMM=; b=ZWVF2DbYBX/hBA1h2sxCu21ysdyyTFRTkW0itD0i+ptOUc4RfTPGM967gVDUyXPILq Te+Di8bWknX+MJnZMz3eLmGmJCyHaDa5ovniXflBQdWb7zzdUbchK44BP357zJ2TdmUL rCxmIJ9cmocF6Ae7kGoCf+H0dAQMdUO6j7d5s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JhMVFUizt3HaFQRWRE515SeQ40gy1GNi23P944WuxlT6CzMdOo2DiqbYDcjBV2MiAL hqy8OtdjiJLAi8NZl5ii+HLyq/sjy8TYOa5SiVC6262OMX9vdIqW3MNW77+DX8AuAisz YQW8p6lIVmZGt3GPr7JriDzqnsG7uJ6F6lxGc=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hi:
I am wondering if i can handle multiple timeout events with a single callback (i.e. Managed timers kind of stuff).
Today i see multiple event type (EV_TIMEOUT, EV_READ) are set when cb is called..
But can we distinguish same event type (timeout) but different timers @ app level in a cb.?
Thanks
Venkat