//--------------------------------------------------------------------------- template<> OS_PROCESS void TProc3::exec() { for(;;) { sleep(1); TMamont m; // create message content m.src = TMamont::PROC_SRC; m.data = 5; MamontMsg = m; // put the content to the OS::message object MamontMsg.send(); // send the message } }