TreeFrogFramework  2.8
Macros
tfcore.h File Reference
#include <TWebApplication>
#include <TAbstractController>
#include <TAbstractActionContext>
#include <TAtomic>
#include <TAccessLog>
#include <QtGlobal>
#include <cerrno>
#include <cstdio>
#include <cstring>
Include dependency graph for tfcore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TF_EINTR_LOOP(func)
 
#define TF_EAGAIN_LOOP(func)
 

Macro Definition Documentation

◆ TF_EAGAIN_LOOP

#define TF_EAGAIN_LOOP (   func)
Value:
int ret; \
do { \
errno = 0; \
ret = (func); \
} while (ret < 0 && (errno == EINTR || errno == EAGAIN)); \
return ret;

◆ TF_EINTR_LOOP

#define TF_EINTR_LOOP (   func)
Value:
int ret; \
do { \
errno = 0; \
ret = (func); \
} while (ret < 0 && errno == EINTR); \
return ret;