diff --git a/rendu/death_monitor.c b/rendu/death_monitor.c index 3d84b80..c97f0bf 100644 --- a/rendu/death_monitor.c +++ b/rendu/death_monitor.c @@ -6,7 +6,7 @@ /* By: ruiferna +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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;