mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Add better error messaging when RegisterFd/UnregisterFd fail
This commit is contained in:
parent
0cfb115c1b
commit
fea0339aca
6 changed files with 39 additions and 19 deletions
|
@ -113,12 +113,12 @@ public:
|
|||
* checked for readiness.
|
||||
* @param src The IOSource that owns the file descriptor.
|
||||
*/
|
||||
void RegisterFd(int fd, IOSource* src);
|
||||
bool RegisterFd(int fd, IOSource* src);
|
||||
|
||||
/**
|
||||
* Unregisters a file descriptor from the FindReadySources checks.
|
||||
*/
|
||||
void UnregisterFd(int fd);
|
||||
bool UnregisterFd(int fd, IOSource* src);
|
||||
|
||||
/**
|
||||
* Forces the poll in FindReadySources to wake up immediately. This method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue