Not yet necessary, but in case each of the threads
is allowed to initiate an atomic, will come in handy
string id = m_data_member_ident_vec[i];
out << "const " << type->cIdent() << "& local_" << id;
}
+
+ if (isMessage()) {
+ out << ", const unsigned local_proc_id" << flush;
+ }
+
out << ")" << endl;
// Call superclass constructor
string next_line_value = m_data_member_pairs_vec[i].lookup("nextLineCallHack");
out << " m_" << id << next_line_value << ";" << endl;
}
-
+ }
+ if (isMessage()) {
+ out << " proc_id = local_proc_id;" << endl << flush;
}
out << " }" << endl;
} // end of if(!isGlobal())
}
}
+ if (isMessage()) {
+ out << " unsigned proc_id;" << endl << flush;
+ }
+
out << "};" << endl; // End class
out << "// Output operator declaration" << endl;