Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_threads.c File Reference
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include "nilorea/n_log.h"
#include "nilorea/n_time.h"
#include "nilorea/n_thread_pool.h"
Include dependency graph for ex_threads.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
void * occupy_thread (void *rest)
void process_args (int argc, char **argv)
void usage (void)

Function Documentation

◆ main()

◆ occupy_thread()

void * occupy_thread ( void * rest)
Examples
ex_threads.c.

Definition at line 85 of file ex_threads.c.

References __n_assert, LOG_DEBUG, n_log, and rest().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_args()

void process_args ( int argc,
char ** argv )

Definition at line 43 of file ex_threads.c.

References getoptret, LOG_DEBUG, LOG_ERR, LOG_INFO, log_level, LOG_NOTICE, LOG_NULL, set_log_level(), and usage().

Here is the call graph for this function:

◆ usage()

void usage ( void )

Definition at line 36 of file ex_threads.c.