Coroutine package abstract base class.  
 More...
#include <sysc/kernel/sc_cor.h>
Coroutine package abstract base class. 
Definition at line 101 of file sc_cor.h.
 
  
  
      
        
          | virtual sc_core::sc_cor_pkg::~sc_cor_pkg  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::abort  | 
          ( | 
          sc_cor *  | 
          next_cor | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::acquire_sched_mutex  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual sc_cor* sc_core::sc_cor_pkg::create  | 
          ( | 
          std::size_t  | 
          stack_size,  | 
         
        
           | 
           | 
          sc_cor_fn *  | 
          fn,  | 
         
        
           | 
           | 
          void *  | 
          arg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual sc_cor* sc_core::sc_cor_pkg::get_main  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual void* sc_core::sc_cor_pkg::get_thread_specific  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Get the thread specific data value. 
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::go  | 
          ( | 
          sc_cor *  | 
          next_cor | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Resume the next coroutine. 
 
 
  
  
      
        
          | virtual bool sc_core::sc_cor_pkg::is_lock_owner  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Check whether the kernel lock is owned by this coroutine. 
 
 
  
  
      
        
          | virtual bool sc_core::sc_cor_pkg::is_locked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Check whether the kernel lock is acquired. 
 
 
  
  
      
        
          | virtual bool sc_core::sc_cor_pkg::is_locked_and_owner  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Check whether the kernel lock is acquired and owned by this coroutine. 
 
 
  
  
      
        
          | virtual bool sc_core::sc_cor_pkg::is_not_owner  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Check whether the kernel lock is not owned by this coroutine. 
 
 
  
  
      
        
          | virtual bool sc_core::sc_cor_pkg::is_unlocked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Check whether the kernel lock is released. 
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::join  | 
          ( | 
          sc_cor *  | 
          join_cor | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::release_sched_mutex  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::set_thread_specific  | 
          ( | 
          void *  | 
          process_b | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Set the thread specific data value. 
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::wait  | 
          ( | 
          sc_cor *  | 
          cur_cor | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Suspend the current coroutine. 
 
 
  
  
      
        
          | virtual void sc_core::sc_cor_pkg::yield  | 
          ( | 
          sc_cor *  | 
          next_cor | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
The documentation for this class was generated from the following file: