tgrekov-philosophers
HIVE philosophers July 2024
Loading...
Searching...
No Matches
stop.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* stop.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/27 07:06:01 by tgrekov #+# #+# */
/* Updated: 2024/08/06 17:19:52 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file stop.c.

#include "../utils/utils.h"
#include "philo.h"
Include dependency graph for stop.c:

Go to the source code of this file.

Functions

int stop (t_thread *thread)
 Determine if this thread's philo should die, or if the thread has reported an error.
 

Function Documentation

◆ stop()

int stop ( t_thread thread)

Determine if this thread's philo should die, or if the thread has reported an error.

Parameters
thread
Return values
int

Definition at line 30 of file stop.c.

References status(), and timestamp().

Here is the call graph for this function:
Here is the caller graph for this function: