SpecSim Programmer Manual

class CNative : public CUnknown

INative interface wrapper

Inheritance:

CNative < CUnknown


Private Methods

Jerror abortThread( CThread ti )
thread execution abortion
Jerror createRootThread( CThread ti )
root thread creation
Jerror createThread( CThread ti )
thread creation
Jerror currentThread( CThread ti )
thread execution resumption
Jerror end( void )
finalization
Jerror getNativeSize( int *size )
size of the native thread object
Jerror resumeThread( CThread ti )
thread execution resumption
Jerror start( CSched s )
initialization
Jerror suspendThread( CThread ti )
thread execution suspension

Inherited from CUnknown:

Private Methods

Juint addref( void )
Jerror query( const ComIID iid, CUnknown handle )
Juint release( void )

Documentation

The INative interface abstracts the functionality of the underlying multithreading package that is needed by SpecC simulation.

Jerror start( CSched s )
initialization
Returns:
0 if success, -1 if failed
Parameters:
s - the client scheduler object

Jerror end( void )
finalization
Returns:
0 if success, -1 if failed

Jerror getNativeSize( int *size )
size of the native thread object
Returns:
0 if success, -1 if failed
Parameters:
size - placeholder for the returned size

Jerror createRootThread( CThread ti )
root thread creation
Returns:
0 if success, -1 if failed
Parameters:
ti - the client thread object

Jerror createThread( CThread ti )
thread creation
Returns:
0 if success, -1 if failed
Parameters:
ti - the client thread object

Jerror abortThread( CThread ti )
thread execution abortion
Returns:
0 if success, -1 if failed
Parameters:
ti - the client thread object

Jerror suspendThread( CThread ti )
thread execution suspension
Returns:
0 if success, -1 if failed
Parameters:
ti - the client thread object

Jerror resumeThread( CThread ti )
thread execution resumption
Returns:
0 if success, -1 if failed
Parameters:
ti - the client thread object

Jerror currentThread( CThread ti )
thread execution resumption
Returns:
0 if success, -1 if failed
Parameters:
ti - the placeholder for the returned client thread object


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++