GNU libmicrohttpd  0.9.72
daemon_poll.c File Reference

functions to run poll-based event loop More...

#include "internal.h"
#include "connection_add.h"
#include "connection_call_handlers.h"
#include "connection_finish_forward.h"
#include "daemon_poll.h"
#include "upgrade_process.h"
#include "request_resume.h"
Include dependency graph for daemon_poll.c:

Go to the source code of this file.

Functions

enum MHD_StatusCode MHD_daemon_poll_ (struct MHD_Daemon *daemon, bool may_block)
 

Detailed Description

functions to run poll-based event loop

Author
Christian Grothoff

Definition in file daemon_poll.c.

Function Documentation

◆ MHD_daemon_poll_()

enum MHD_StatusCode MHD_daemon_poll_ ( struct MHD_Daemon daemon,
bool  may_block 
)

Do poll()-based processing.

Parameters
daemondaemon to run poll()-loop for
may_blocktrue if blocking, false if non-blocking
Returns
#MHD_SC_OK on success

Definition at line 1 of file daemon_poll.c.

References MHD_EPOLL_STATE_ERROR.

Referenced by MHD_daemon_run(), and MHD_daemon_start().

Here is the caller graph for this function: