Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
os-project2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
희원 전
os-project2
Commits
f2d04856
Commit
f2d04856
authored
2 months ago
by
희원 전
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
8d213d1f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-0
19 additions, 0 deletions
README.md
with
19 additions
and
0 deletions
README.md
0 → 100644
+
19
−
0
View file @
f2d04856
# Operating Systems: project 2
## 실행 환경 및 방법
WSL Ubuntu, VScode 사용
`gcc`
로 컴파일 및
`./a.out`
실행파일 실행
## Producer/ Consumer 프로그램
생산자가 물품을 전달하고, 전달받은 물품을 가게가 소비한다.
동기화가 없으면 자신이 전달받지 않은 우유를 소비하게 된다.
## Reader/ Writer 프로그램
`num`
변수에 한 자리의 랜덤 숫자를 계속해서 저장하고, 사용자는 해당 숫자를 계속해서 확인한다.
동기화가 없으면 가장 최근에 저장된 숫자가 아닌 숫자를 읽게 된다.
\ No newline at end of file
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