![]() |
tgrekov-philosophers
HIVE philosophers July 2024
|
Definition in file philo_sleep.c.
Go to the source code of this file.
Functions | |
| int | philo_sleep (unsigned long ms, t_thread *thread) |
Sleep in 200 microsecond intervals until ms millis have elapsed, or stop has returned non-zero. | |
| int philo_sleep | ( | unsigned long | ms, |
| t_thread * | thread | ||
| ) |
Sleep in 200 microsecond intervals until ms millis have elapsed, or stop has returned non-zero.
| ms | Milliseconds to sleep |
| thread |
| int |
Definition at line 33 of file philo_sleep.c.
References check_end(), stop(), and timestamp().