./philo 200 410 200 200 1 을 실행시켰을 때, 처음 시간이 동기화가 잘 안되는 듯한 이슈가 있었으나, print_status함수에서 get_time()을 호출할때 mutex 외부에서 호출해서 문제가 되었던 것이었다. print_mtx내부로 get_time()을 호출하니 뮤택스를 획득한 스레드 순서대로 시간이 업데이트 되었다.!!
-
Notifications
You must be signed in to change notification settings - Fork 0
FunctionPointerXDD/philo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published