Go to the source code of this file.
Functions | |
int | flusher_init (void) |
Initialize the tcp-handling stuff. | |
int | flush_buffer (void) |
Request flushing the buffer. | |
int | do_flush_buffer (void) |
Flush the buffered data. | |
Variables | |
int | flusher_prio |
l4_threadid_t | main_thread |
l4_threadid_t | flusher_thread |
Definition in file flusher.h.
int do_flush_buffer | ( | void | ) |
Flush the buffered data.
Context: Flusher thread.
net_flush_buffer() is exported from tcpip.c, console_flush() is a local function.
Definition at line 224 of file flusher.c.
References CONFIG_LOG_RINGBUFFER, and console_flush().
Referenced by thread_loop().
int flush_buffer | ( | void | ) |
Request flushing the buffer.
This function blocks until the buffer is flushed. If we are in muxed mode (flush_muxed==1), this function also flushes the binary buffers.
Context: Main thread, flush-signaller thread
0 | on success, error otherwise. |
Definition at line 259 of file flusher.c.
Referenced by flush_signaller().
int flusher_init | ( | void | ) |
Initialize the tcp-handling stuff.
This function creates the TCP/IP handling thread. Then it waits for its startup-IPC.
Context: Main thread.
Definition at line 332 of file flusher.c.
References flush_signaller(), and thread_loop().