macro_rules! semaphore_pub { ($name:ident, $init_count:expr, $total_count:expr, $task_num:expr) => { ... }; }