|
char * | allocate_space (size_t n) |
|
void | free_space (size_t n, char *p) |
|
ThreadPool * | createThreadPool (int threads, int prioThreads=0) |
|
void | closeThreadPool (ThreadPool *pool, bool wait) |
|
ThreadPool * | getCurrentThreadPool () |
|
Job * | createJob (void(*func)(leftv result, leftv arg)) |
|
Job * | createJob (void(*func)(long ndeps, Job **deps)) |
|
Job * | getCurrentJob () |
|
bool | getJobCancelled () |
|
bool | getJobCancelled (Job *job) |
|
void | addJobArgs (Job *job, leftv arg) |
|
void | setJobData (Job *job, void *data) |
|
void * | getJobData (Job *job) |
|
leftv | getJobResult (Job *job) |
|
const char * | getJobName () |
|
void | setJobName (const char *) |
|
Job * | startJob (ThreadPool *pool, Job *job, leftv arg) |
|
Job * | startJob (ThreadPool *pool, Job *job) |
|
void | cancelJob (Job *job) |
|
void | waitJob (Job *job) |
|
void | release (Job *job) |
|
void | release (ThreadPool *pool) |
|
void | retain (Job *job) |
|
void | retain (ThreadPool *pool) |
|
void | acquireShared (SharedObject *obj) |
|
void | releaseShared (SharedObject *obj) |
|
SharedObject * | makeSharedObject (SharedObjectTable &table, Lock *lock, int type, string &name, SharedConstructor scons) |
|
SharedObject * | findSharedObject (SharedObjectTable &table, Lock *lock, string &name) |
|
void * | shared_init (blackbox *b) |
|
void * | new_shared (SharedObject *obj) |
|
void | shared_destroy (blackbox *b, void *d) |
|
void | rlock_destroy (blackbox *b, void *d) |
|
void * | shared_copy (blackbox *b, void *d) |
|
BOOLEAN | shared_assign (leftv l, leftv r) |
|
BOOLEAN | rlock_assign (leftv l, leftv r) |
|
BOOLEAN | shared_check_assign (blackbox *b, leftv l, leftv r) |
|
BOOLEAN | shared_op2 (int op, leftv res, leftv a1, leftv a2) |
|
BOOLEAN | shared_op3 (int op, leftv res, leftv a1, leftv a2, leftv a3) |
|
char * | shared_string (blackbox *b, void *d) |
|
char * | rlock_string (blackbox *b, void *d) |
|
void | report (const char *fmt, const char *name) |
|
int | wrong_num_args (const char *name, leftv arg, int n) |
|
int | not_a_uri (const char *name, leftv arg) |
|
int | not_a_region (const char *name, leftv arg) |
|
char * | str (leftv arg) |
|
SharedObject * | consTable () |
|
SharedObject * | consList () |
|
SharedObject * | consChannel () |
|
SharedObject * | consSyncVar () |
|
SharedObject * | consRegion () |
|
static void | appendArg (vector< leftv > &argv, string &s) |
|
static void | appendArg (vector< leftv > &argv, leftv arg) |
|
static void | appendArgCopy (vector< leftv > &argv, leftv arg) |
|
static BOOLEAN | executeProc (sleftv &result, const char *procname, const vector< leftv > &argv) |
|
BOOLEAN | makeAtomicTable (leftv result, leftv arg) |
|
BOOLEAN | makeAtomicList (leftv result, leftv arg) |
|
BOOLEAN | makeSharedTable (leftv result, leftv arg) |
|
BOOLEAN | makeSharedList (leftv result, leftv arg) |
|
BOOLEAN | makeChannel (leftv result, leftv arg) |
|
BOOLEAN | makeSyncVar (leftv result, leftv arg) |
|
BOOLEAN | makeRegion (leftv result, leftv arg) |
|
BOOLEAN | findSharedObject (leftv result, leftv arg) |
|
BOOLEAN | typeSharedObject (leftv result, leftv arg) |
|
BOOLEAN | bindSharedObject (leftv result, leftv arg) |
|
BOOLEAN | getTable (leftv result, leftv arg) |
|
BOOLEAN | inTable (leftv result, leftv arg) |
|
BOOLEAN | putTable (leftv result, leftv arg) |
|
BOOLEAN | getList (leftv result, leftv arg) |
|
BOOLEAN | putList (leftv result, leftv arg) |
|
BOOLEAN | lockRegion (leftv result, leftv arg) |
|
BOOLEAN | regionLock (leftv result, leftv arg) |
|
BOOLEAN | unlockRegion (leftv result, leftv arg) |
|
BOOLEAN | sendChannel (leftv result, leftv arg) |
|
BOOLEAN | receiveChannel (leftv result, leftv arg) |
|
BOOLEAN | statChannel (leftv result, leftv arg) |
|
BOOLEAN | writeSyncVar (leftv result, leftv arg) |
|
BOOLEAN | updateSyncVar (leftv result, leftv arg) |
|
BOOLEAN | readSyncVar (leftv result, leftv arg) |
|
BOOLEAN | statSyncVar (leftv result, leftv arg) |
|
void | encode_shared (LinTree::LinTree &lintree, leftv val) |
|
leftv | decode_shared (LinTree::LinTree &lintree) |
|
void | ref_shared (LinTree::LinTree &lintree, int by) |
|
void | installShared (int type) |
|
void | makeSharedType (int &type, const char *name) |
|
void | makeRegionlockType (int &type, const char *name) |
|
void | setOption (int ch) |
|
void | thread_init () |
|
void * | thread_main (void *arg) |
|
void * | interpreter_thread (ThreadState *ts, void *arg) |
|
static ThreadState * | newThread (void *(*thread_func)(ThreadState *, void *), void *arg, const char **error) |
|
ThreadState * | createThread (void *(*thread_func)(ThreadState *, void *), void *arg) |
|
void * | joinThread (ThreadState *ts) |
|
static InterpreterThread * | createInterpreterThread (const char **error) |
|
static BOOLEAN | createThread (leftv result, leftv arg) |
|
static bool | joinInterpreterThread (InterpreterThread *thread) |
|
static BOOLEAN | joinThread (leftv result, leftv arg) |
|
static BOOLEAN | createThreadPool (leftv result, leftv arg) |
|
static BOOLEAN | createThreadPoolSet (leftv result, leftv arg) |
|
static BOOLEAN | getThreadPoolWorkers (leftv result, leftv arg) |
|
static BOOLEAN | setThreadPoolWorkers (leftv result, leftv arg) |
|
static BOOLEAN | getThreadPoolConcurrency (leftv result, leftv arg) |
|
static BOOLEAN | setThreadPoolConcurrency (leftv result, leftv arg) |
|
static BOOLEAN | closeThreadPool (leftv result, leftv arg) |
|
BOOLEAN | currentThreadPool (leftv result, leftv arg) |
|
BOOLEAN | setCurrentThreadPool (leftv result, leftv arg) |
|
static BOOLEAN | createJob (leftv result, leftv arg) |
|
static BOOLEAN | startJob (leftv result, leftv arg) |
|
static BOOLEAN | waitJob (leftv result, leftv arg) |
|
static BOOLEAN | cancelJob (leftv result, leftv arg) |
|
static BOOLEAN | jobCancelled (leftv result, leftv arg) |
|
const char * | getJobName (Job *job) |
|
void | setJobName (Job *job, const char *name) |
|
static BOOLEAN | createTrigger (leftv result, leftv arg) |
|
static BOOLEAN | updateTrigger (leftv result, leftv arg) |
|
static BOOLEAN | chainTrigger (leftv result, leftv arg) |
|
static BOOLEAN | testTrigger (leftv result, leftv arg) |
|
static BOOLEAN | scheduleJob (leftv result, leftv arg) |
|
BOOLEAN | currentJob (leftv result, leftv arg) |
|
BOOLEAN | threadID (leftv result, leftv arg) |
|
BOOLEAN | mainThread (leftv result, leftv arg) |
|
BOOLEAN | threadEval (leftv result, leftv arg) |
|
BOOLEAN | threadExec (leftv result, leftv arg) |
|
BOOLEAN | threadPoolExec (leftv result, leftv arg) |
|
BOOLEAN | threadResult (leftv result, leftv arg) |
|
BOOLEAN | setSharedName (leftv result, leftv arg) |
|
BOOLEAN | getSharedName (leftv result, leftv arg) |
|
ThreadState * | createThread (ThreadFunc body, void **arg, const char **error) |
|
template<typename T > |
T * | shared_alloc (std::size_t n) |
|
template<typename T > |
T * | shared_alloc0 (std::size_t n) |
|
template<typename T > |
T | shared_free (T *p) |
|
template<typename T > |
T * | shared_alloc (size_t n) |
|
template<typename T > |
T * | shared_alloc0 (size_t n) |
|
template<typename T > |
void | shared_free (T *p) |
|