[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] How to interpret paramters to timeout callback?
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] How to interpret paramters to timeout callback?
- From: Jeffrey Walton <noloader@xxxxxxxxx>
- Date: Thu, 13 Mar 2014 09:43:09 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Thu, 13 Mar 2014 09:43:13 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=eRnlSkns/Cna4JgtBE2UPFiq1qFxEwYiYNI63Z0Jkqk=; b=QkeGqAtgA30CRMJiLCnlAoVxfbjt69l+eIoGTCLOZNs9Qxu43EPkUWQ/D1vjscbR8/ fMyJ925ZZzd0EDVB8CpJovtbfSxhPFsxDonZzNaGeKw4WwyQ+GY8+AixGuCCGe5tGg1c caSYa/XLTeBqoqrNQlah+0CEflcKEe7QMMK9IUi266FvwIpe3piPTls5ttV19cEQAGQQ e+I3Y3RGC80ztFScZ1C5ebhA32vSKBhAQggb5t3rIxc0MF8+KZCbt5QDauTE5vbBFuwm 2E4CDTKAOu/LiUWZcc4Cmu+eCdaQcDTMRSjgOV866tDTEj3+XL0uTxx9ZQosTwFQbJPg SVtw==
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
I have a persistent timer. When its callback is invoked, I log the following:
timeout_cb: socket: -1; what: BEV_EVENT_READING; arg: 0x0x7362e0
Is a socket of -1 expected? If so, what is the purpose of the socket?
Why is BEV_EVENT_READING set? Shouldn't a timer set a
BEV_EVENT_TIMEOUT? Can I expect a BEV_EVENT_WRITING too?
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.