15 lines
No EOL
325 B
C
15 lines
No EOL
325 B
C
#ifndef MAILBOX_H
|
|
#define MAILBOX_H
|
|
|
|
struct msg {
|
|
// index of thread that sent the message
|
|
int iFrom;
|
|
// value of message
|
|
int value;
|
|
// number of operations (optional; used to send a message back to the main thread)
|
|
int cnt;
|
|
// total time (optional; used to send a message back to the main thread)
|
|
int tot;
|
|
};
|
|
|
|
#endif |