#include <threadfork.h>
Public Member Functions | |
| ThreadFork () | |
| ~ThreadFork () | |
| FILE * | get_stdin () |
| void | run () |
| void | start_command (char *command_line, int pipe_stdin) |
Static Public Member Functions | |
| static void * | entrypoint (void *ptr) |
Private Attributes | |
| int | filedes [2] |
| int | pid |
| pthread_t | tid |
| char ** | arguments |
| char | path [BCTEXTLEN] |
| int | total_arguments |
| FILE * | stdin_fd |
| pthread_mutex_t | start_lock |
| char * | command_line |
| int | pipe_stdin |
Definition at line 11 of file threadfork.h.
|
|
Definition at line 14 of file threadfork.C. References arguments, command_line, MAX_ARGS, pid, pipe_stdin, start_lock, stdin_fd, tid, and total_arguments. |
|
|
Definition at line 31 of file threadfork.C. References arguments, start_lock, stdin_fd, and total_arguments. |
|
|
Definition at line 50 of file threadfork.C. References run(). |
|
|
Definition at line 171 of file threadfork.C. References stdin_fd. |
|
|
Definition at line 76 of file threadfork.C. References arguments, command_line, filedes, fileno(), path, pid, pipe_stdin, start_lock, stdin_fd, and total_arguments. Referenced by entrypoint(). |
|
||||||||||||
|
Definition at line 56 of file threadfork.C. References stdin_fd. Referenced by main(). |
|
|
Definition at line 27 of file threadfork.h. Referenced by run(), ThreadFork(), and ~ThreadFork(). |
|
|
Definition at line 32 of file threadfork.h. Referenced by run(), and ThreadFork(). |
|
|
Definition at line 24 of file threadfork.h. Referenced by run(). |
|
|
Definition at line 28 of file threadfork.h. Referenced by run(). |
|
|
Definition at line 25 of file threadfork.h. Referenced by run(), and ThreadFork(). |
|
|
Definition at line 33 of file threadfork.h. Referenced by run(), and ThreadFork(). |
|
|
Definition at line 31 of file threadfork.h. Referenced by run(), ThreadFork(), and ~ThreadFork(). |
|
|
Definition at line 30 of file threadfork.h. Referenced by get_stdin(), run(), start_command(), ThreadFork(), and ~ThreadFork(). |
|
|
Definition at line 26 of file threadfork.h. Referenced by ThreadFork(). |
|
|
Definition at line 29 of file threadfork.h. Referenced by run(), ThreadFork(), and ~ThreadFork(). |
1.4.4