-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpa1.h
More file actions
28 lines (22 loc) · 838 Bytes
/
pa1.h
File metadata and controls
28 lines (22 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* @file pa1.h
* @Author Michael Kosyakov and Evgeniy Ivanov (ifmo.distributedclass@gmail.com)
* @date March, 2014
* @brief Constants for programming assignment 1
*
* Students must not modify this file!
*/
#ifndef __IFMO_DISTRIBUTED_CLASS_PA1__H
#define __IFMO_DISTRIBUTED_CLASS_PA1__H
/* %1d - local id, %5d - PID, e.g.
* Process 1 (pid 12341, parent 12340) has STARTED\n
*/
static const char * const log_started_fmt =
"Process %1d (pid %5d, parent %5d) has STARTED\n";
static const char * const log_received_all_started_fmt =
"Process %1d received all STARTED messages\n";
static const char * const log_done_fmt =
"Process %1d has DONE its work\n";
static const char * const log_received_all_done_fmt =
"Process %1d received all DONE messages\n";
#endif // __IFMO_DISTRIBUTED_CLASS_PA1__H