tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
thread Class Reference

#include <my_thread.hpp>

Collaboration diagram for thread:

Public Member Functions

void enter_transaction ()
 
void leave_transaction ()
 
bool in_transaction ()
 
 thread (runnable *f)
 
 thread ()
 
TRANSACTION_PURE void erase_buffered_output ()
 
void dump_buffered_output ()
 
 ~thread ()
 

Public Attributes

stringstream vout
 

Private Attributes

pthread_t my_pthread
 
runnablemy_runnable
 
int transaction_count
 

Friends

void * call_runnable (void *f)
 

Constructor & Destructor Documentation

thread::thread ( runnable f)
inline
thread::thread ( )
inline
thread::~thread ( )
inline

Member Function Documentation

void thread::dump_buffered_output ( )
inline
void thread::enter_transaction ( )
inline
TRANSACTION_PURE void thread::erase_buffered_output ( )
inline
bool thread::in_transaction ( )
inline
void thread::leave_transaction ( )
inline

Friends And Related Function Documentation

void* call_runnable ( void *  f)
friend

Copyright (C) 2011 University of Rochester Department of Computer Science and Lehigh University Department of Computer Science and Engineering

License: Modified BSD Please see the file LICENSE.RSTM for licensing information

Member Data Documentation

pthread_t thread::my_pthread
private
runnable* thread::my_runnable
private
int thread::transaction_count
private
stringstream thread::vout

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