From 20e0b28ec3c8e9e0a63759116a32438c18941a59 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 27 Sep 2020 16:58:35 +0200 Subject: Added log checking --- src/philo/event.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/philo/event.py (limited to 'src/philo/event.py') diff --git a/src/philo/event.py b/src/philo/event.py new file mode 100644 index 0000000..62f7ca6 --- /dev/null +++ b/src/philo/event.py @@ -0,0 +1,21 @@ +# ############################################################################ # +# # +# ::: :::::::: # +# event.py :+: :+: :+: # +# +:+ +:+ +:+ # +# By: charles +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/09/27 16:04:04 by charles #+# #+# # +# Updated: 2020/09/27 16:28:43 by charles ### ########.fr # +# # +# ############################################################################ # + +from enum import Enum + + +class Event(Enum): + EATING = 1 + SLEEPING = 2 + THINKING = 3 + DIED = 4 + NONE = 5 -- cgit