#ifndef MAIN_H #define MAIN_H // The max number of threads that can be used at once #define MAXTHREAD 10 // The max size of the input buffer #define BUFFER_SIZE 128 #define USAGE_STRING "./mailbox num_threads [nb]" // input represents a pair of values inputted at the command line struct input { // The mailbox index of the recipient. int recipient; // The value to send to the mailbox. int value; }; #endif