My Project
Loading...
Searching...
No Matches
Public Member Functions
LibThread::EvalJob Class Reference

Public Member Functions

 EvalJob ()
 
virtual void execute ()
 
- Public Member Functions inherited from LibThread::Job
 Job ()
 
 ~Job ()
 
void addDep (Job *job)
 
void addDep (vector< Job * > &jobs)
 
void addDep (long ndeps, Job **jobs)
 
void addNotify (vector< Job * > &jobs)
 
void addNotify (Job *job)
 
virtual bool ready ()
 
virtual void execute ()=0
 
void run ()
 
- Public Member Functions inherited from LibThread::SharedObject
 SharedObject ()
 
virtual ~SharedObject ()
 
void set_type (int type_init)
 
int get_type ()
 
void set_name (std::string &name_init)
 
void set_name (const char *s)
 
std::string & get_name ()
 
void incref (int by=1)
 
long decref ()
 
long getref ()
 
virtual BOOLEAN op2 (int op, leftv res, leftv a1, leftv a2)
 
virtual BOOLEAN op3 (int op, leftv res, leftv a1, leftv a2, leftv a3)
 

Additional Inherited Members

- Data Fields inherited from LibThread::Job
ThreadPoolpool
 
long prio
 
size_t id
 
long pending_index
 
vector< Job * > deps
 
vector< Job * > notify
 
vector< Trigger * > triggers
 
vector< string > args
 
string result
 
void * data
 
bool fast
 
bool done
 
bool queued
 
bool running
 
bool cancelled
 

Detailed Description

Definition at line 2360 of file shared.cc.

Constructor & Destructor Documentation

◆ EvalJob()

LibThread::EvalJob::EvalJob ( )
inline

Definition at line 2362 of file shared.cc.

2362: Job() { }

Member Function Documentation

◆ execute()

virtual void LibThread::EvalJob::execute ( )
inlinevirtual

Implements LibThread::Job.

Definition at line 2363 of file shared.cc.

2363 {
2365 result = (LinTree::to_string(val));
2366 val->CleanUp();
2367 omFreeBin(val, sleftv_bin);
2368 }
vector< string > args
Definition: shared.cc:1558
string result
Definition: shared.cc:1559
Class used for (list of) interpreter objects.
Definition: subexpr.h:83
void CleanUp(ring r=currRing)
Definition: subexpr.cc:348
EXTERN_VAR omBin sleftv_bin
Definition: ipid.h:145
std::string to_string(leftv val)
Definition: lintree.cc:843
leftv from_string(std::string &str)
Definition: lintree.cc:854
#define omFreeBin(addr, bin)
Definition: omAllocDecl.h:259

The documentation for this class was generated from the following file: