Collaboration diagram for ns3::StackTrampoline:Public Member Functions | |
| StackTrampoline () | |
| ~StackTrampoline () | |
| void | Jump (PthreadFiberThread *thread) | 
Static Private Member Functions | |
| static void | DoWork (PthreadFiberThread *thread) | 
| static void | SignalHandler (int signo) | 
Private Attributes | |
| jmp_buf | m_buf | 
| PthreadFiberThread * | m_jumpTarget | 
| void * | m_stack | 
| unsigned int | m_vgId | 
Static Private Attributes | |
| static StackTrampoline * | g_current = 0 | 
| static pthread_mutex_t | g_mutex = PTHREAD_MUTEX_INITIALIZER | 
Definition at line 117 of file pthread-fiber-manager.cc.
      
  | 
  inline | 
Definition at line 120 of file pthread-fiber-manager.cc.
References g_current, g_mutex, m_stack, m_vgId, SignalHandler(), and VALGRIND_STACK_REGISTER.
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 151 of file pthread-fiber-manager.cc.
References m_stack, m_vgId, and VALGRIND_STACK_DEREGISTER.
      
  | 
  inlinestaticprivate | 
Definition at line 191 of file pthread-fiber-manager.cc.
References ns3::MemoryBounds::GetSize(), ns3::MemoryBounds::GetStart(), ns3::PthreadFiberThread::next, ns3::PthreadFiberThread::previous, ns3::PthreadFiber::stack_bounds, ns3::PthreadFiber::stack_copy, ns3::PthreadFiberThread::stack_size, ns3::PthreadFiber::thread, VALGRIND_MAKE_MEM_DEFINED, and ns3::PthreadFiber::yield_env.
Referenced by SignalHandler().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 157 of file pthread-fiber-manager.cc.
References m_buf, m_jumpTarget, m_stack, ns3::PthreadFiberThread::next, ns3::PthreadFiberThread::previous, and VALGRIND_MAKE_MEM_DEFINED.
      
  | 
  inlinestaticprivate | 
Definition at line 181 of file pthread-fiber-manager.cc.
References DoWork(), g_current, and VALGRIND_MAKE_MEM_DEFINED.
Referenced by StackTrampoline().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  staticprivate | 
Definition at line 231 of file pthread-fiber-manager.cc.
Referenced by SignalHandler(), and StackTrampoline().
      
  | 
  staticprivate | 
Definition at line 230 of file pthread-fiber-manager.cc.
Referenced by StackTrampoline().
      
  | 
  private | 
Definition at line 227 of file pthread-fiber-manager.cc.
Referenced by Jump().
      
  | 
  private | 
Definition at line 228 of file pthread-fiber-manager.cc.
Referenced by Jump().
      
  | 
  private | 
Definition at line 226 of file pthread-fiber-manager.cc.
Referenced by Jump(), StackTrampoline(), and ~StackTrampoline().
      
  | 
  private | 
Definition at line 229 of file pthread-fiber-manager.cc.
Referenced by StackTrampoline(), and ~StackTrampoline().