Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
csci315
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cdf009
csci315
Commits
285f5d09
Commit
285f5d09
authored
Oct 25, 2018
by
Ryan Pasculano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lab6/feedback added
parent
b9873245
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
Labs/Lab6/feedback
Labs/Lab6/feedback
+41
-0
No files found.
Labs/Lab6/feedback
0 → 100644
View file @
285f5d09
------------------------------------------------------------
Lab 6 -- Feedback
------------------------------------------------------------
Prelab:
Philosopher thinks, eats, and repeat 15/15
Main creates 5 Philisopher threads 10/15
-5: Only one philosopher is printed to the console.
All of the tids point to the same location so each
philosopher is pointing at the same tid. move the
variable declaration to insode the loop or create
an array of tids to avoid this issue.
Problem 1:
No 2 Philisophers are eating at the same time 20/20
output file exists 0/4
-4: file is empty
what problems are observed (answers.txt) 3/3
how could you deadlock? (answers.txt) 4/4
Problem 2:
force deadlock consistently 12/12
problem2.out shows deadlock 4/4
describe your deadlock (answers.txt) 4/4
Problem 3: 20
problem3-1 pick up based on parity 8/8
problem3-2 pick up lowest first 8/8
does this solve deadlock? (answers.txt) 4/4
Note: Deadlock is when nothing can happen, a long wait time
followed by eventually being able to execute a process is
not deadlock but it is something that should be avoided when
possible.
-5: No rules to make problem2, problem3-1, and problem3-2
------------------------------------------------------------
TOTAL 86 / 100
------------------------------------------------------------
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment