Added struct to death_monitor.c
This commit is contained in:
parent
4584560f1d
commit
9349239c84
@ -6,7 +6,7 @@
|
||||
/* By: ruiferna <ruiferna@student.42porto.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/10/09 20:16:37 by ruiferna #+# #+# */
|
||||
/* Updated: 2025/10/09 20:45:22 by ruiferna ### ########.fr */
|
||||
/* Updated: 2025/10/09 20:47:14 by ruiferna ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -14,6 +14,13 @@
|
||||
|
||||
#define WORKERS 4
|
||||
|
||||
// typedef struct {
|
||||
// pthread_mutex_t mutex;
|
||||
// struct timeval last_activity_time;
|
||||
// int alive; // 1 if alive, 0 if dead
|
||||
// } WorkerState;
|
||||
|
||||
|
||||
typedef struct s_shared
|
||||
{
|
||||
int id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user