diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-27 16:58:35 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-27 16:58:35 +0200 |
| commit | 20e0b28ec3c8e9e0a63759116a32438c18941a59 (patch) | |
| tree | ee426189825867a0d98358154da3660c48ca5957 /src/philo/event.py | |
| parent | 861621b9bdbdc7336183597b3ffd4ee161be19f3 (diff) | |
| download | philosophers_test-20e0b28ec3c8e9e0a63759116a32438c18941a59.tar.gz philosophers_test-20e0b28ec3c8e9e0a63759116a32438c18941a59.tar.bz2 philosophers_test-20e0b28ec3c8e9e0a63759116a32438c18941a59.zip | |
Added log checking
Diffstat (limited to 'src/philo/event.py')
| -rw-r--r-- | src/philo/event.py | 21 |
1 files changed, 21 insertions, 0 deletions
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 <me@cacharle.xyz> +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# 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 |
