SST/macro
thread_data.h
Go to the documentation of this file.
1 #ifndef THREAD_DATA_H
2 #define THREAD_DATA_H
3 
6 #include <utility>
7 
8 namespace sstmac {
9 namespace sw {
10 
11 // We need to know the thread associated with each threading_interface
12 // so current thread pointer can be maintained
13 // (used for threadstack_ in operatingsystem and block_ in key )
14 typedef std::pair<threading_interface*, thread*> thread_data_t;
15 
16 /**
17  * Base class for tasks that can be cooperative scheduled using threadcontext.
18  */
19 
20 struct threadinfo {
22 };
23 
24 }
25 }
26 
27 #endif // THREAD_DATA_H
Base class for tasks that can be cooperative scheduled using threadcontext.
Definition: thread_data.h:20
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
std::pair< threading_interface *, thread * > thread_data_t
Definition: thread_data.h:14