kirill-refactor

This commit is contained in:
2025-12-10 16:50:28 +07:00
parent cb9d0ac607
commit f3a5c1f658
114 changed files with 2066 additions and 0 deletions

16
mine/lab_5/common.h Normal file
View File

@@ -0,0 +1,16 @@
#pragma once
#include <sys/types.h>
#define REQ_QUEUE "/winnie_req"
#define NAME_MAXLEN 64
typedef struct {
pid_t pid;
int want;
char replyq[NAME_MAXLEN];
} req_msg_t;
typedef struct {
int granted;
int remain;
} rep_msg_t;