Zth (libzth)
Loading...
Searching...
No Matches
worker.cpp File Reference
#include <libzth/worker.h>
#include <libzth/async.h>
#include <csignal>
#include <vector>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>

Go to the source code of this file.

Namespaces

namespace  zth
 

Functions

void zth::worker_global_init ()
 
int zth::startWorkerThread (void(*f)(), size_t stack, char const *name)
 Start a new thread, create a Worker, with one fiber, which executes f.
 
int zth::execlp (char const *file, char const *arg,...)
 Start an external program.
 
int zth::execvp (char const *file, char *const arg[])
 Start an external program.
 
void zth::sigchld_check ()