FACT++  1.0
void READ_STRUCT::init ( )
static

Definition at line 272 of file EventBuilder.cc.

References factPrintf(), MessageImp::kError, and NBOARDS.

273 {
274  if (fd_epoll>=0)
275  return;
276 
277 #ifdef USE_EPOLL
278  fd_epoll = epoll_create(NBOARDS);
279  if (fd_epoll<0)
280  {
281  factPrintf(MessageImp::kError, "Waiting for data failed: %d (epoll_create,rc=%d)", errno);
282  return;
283  }
284 #endif
285 }
void factPrintf(int severity, const char *fmt,...)
#define NBOARDS
Definition: BasicGlCamera.h:4
Error, something unexpected happened, but can still be handled by the program.
Definition: MessageImp.h:19
static int fd_epoll

+ Here is the call graph for this function: