Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs452Trainee
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tom Feng
cs452Trainee
Commits
aaa6edc3
Commit
aaa6edc3
authored
6 years ago
by
antnh6@gmail.com
Browse files
Options
Downloads
Patches
Plain Diff
basic setup
parent
71069b8d
No related branches found
No related tags found
1 merge request
!16
Withtime
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+18
-0
18 additions, 0 deletions
README.md
include/priority-q.h
+2
-0
2 additions, 0 deletions
include/priority-q.h
with
20 additions
and
0 deletions
README.md
0 → 100644
+
18
−
0
View file @
aaa6edc3
## Tom
-
[ ] main
-
[ ] TDPQ
## An
-
[ ] TD
-
[ ] Context Switch Assembly
-
[ ] Syscall (user side five functions?)
## TBD
-
[ ] kernel side syscall The five functions, such as create)
-
[ ] Scheduler
-
[ ] Makefile
## Ideas
-
I think it's
`swi n`
where n is which of the 5 syscalls, say n = 1 is equal to Create
\ No newline at end of file
This diff is collapsed.
Click to expand it.
include/priority-q.h
+
2
−
0
View file @
aaa6edc3
...
@@ -8,6 +8,8 @@ typedef struct
...
@@ -8,6 +8,8 @@ typedef struct
TD
*
Head
;
TD
*
Head
;
TD
*
Tail
;
TD
*
Tail
;
int
Length
;
int
Length
;
// What bout dis :)
// TD* TDList;
}
TDPQ
;
}
TDPQ
;
int
TDPQReady
(
TDPQ
*
PQ
);
int
TDPQReady
(
TDPQ
*
PQ
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment