looking like it

This commit is contained in:
Houtworm 2023-05-23 03:07:43 +02:00
parent e9c96f26b9
commit 50dd3af824

View File

@ -6,7 +6,7 @@
/* By: houtworm <codam@houtworm.net> +#+ +:+ +#+ */ /* By: houtworm <codam@houtworm.net> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/05/22 07:34:59 by houtworm #+# #+# */ /* Created: 2023/05/22 07:34:59 by houtworm #+# #+# */
/* Updated: 2023/05/22 08:09:16 by houtworm ### ########.fr */ /* Updated: 2023/05/23 03:07:31 by houtworm ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -19,7 +19,7 @@ int ft_releasetheminds(t_strct *strct, int m)
i = 0; i = 0;
if (m) if (m)
{ {
/*strct->strtt = ft_time();*/ strct->strtt = ft_time();
while (i < strct->philos) while (i < strct->philos)
{ {
sem_post(strct->hold); sem_post(strct->hold);