diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-01-04 12:20:25 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-01-04 12:20:25 +0100 |
| commit | 907debbb7d1e7ccc4914805cfe4acbed92b82bcc (patch) | |
| tree | 199d60e60d9d9b689062c5f08d6381c090127619 /common/common.h | |
| parent | 7e971b3fa805c40d02ac3e996ab1d181f9584866 (diff) | |
| download | philosophers-907debbb7d1e7ccc4914805cfe4acbed92b82bcc.tar.gz philosophers-907debbb7d1e7ccc4914805cfe4acbed92b82bcc.tar.bz2 philosophers-907debbb7d1e7ccc4914805cfe4acbed92b82bcc.zip | |
Added buffered output, Added waiting for all to be started
Diffstat (limited to 'common/common.h')
| -rw-r--r-- | common/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/common.h b/common/common.h index d224264..09fdf79 100644 --- a/common/common.h +++ b/common/common.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 22:58:35 by cacharle #+# #+# */ -/* Updated: 2021/01/03 16:34:25 by cacharle ### ########.fr */ +/* Updated: 2021/01/04 11:52:30 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -62,6 +62,7 @@ void h_sleep(t_time sleep_time); void philo_put( size_t id, t_philo_event event, t_time initial_time); +void philo_put_flush(void); int h_err(int ret, const char *format, char *str); #endif |
