Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
battle_c
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JieunYoon
battle_c
Commits
4d52fc3d
Commit
4d52fc3d
authored
4 years ago
by
JieunYoon
Browse files
Options
Downloads
Patches
Plain Diff
Add result
parent
d67ef190
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
08_14_mutex/README.md
+47
-8
47 additions, 8 deletions
08_14_mutex/README.md
08_14_mutex/ledThreads/led_main
+0
-0
0 additions, 0 deletions
08_14_mutex/ledThreads/led_main
with
47 additions
and
8 deletions
08_14_mutex/README.md
+
47
−
8
View file @
4d52fc3d
...
...
@@ -78,6 +78,45 @@
*
./led_main 3 6
빨간색 LED만 1초 간격으로 10 on/off 반복 + 초록 LED는 2초 간격으로, 노란색 LED는 3초 간격으로 각각 6회 on/off
*
실행 결과
*
./build/led_main 2 7
```
text
RED ON!
YELLOW ON!
RED OFF!
RED ON!
YELLOW OFF!
RED OFF!
RED ON!
RED OFF!
YELLOW ON!
RED ON!
RED OFF!
RED ON!
YELLOW OFF!
RED OFF!
RED ON!
RED OFF!
YELLOW ON!
RED ON!
RED OFF!
RED ON!
YELLOW OFF!
RED OFF!
RED ON!
RED OFF!
YELLOW ON!
RED ON!
RED OFF!
YELLOW OFF!
YELLOW ON!
YELLOW OFF!
YELLOW ON!
YELLOW OFF!
YELLOW ON!
YELLOW OFF!
```
!
[
led_main_2_7
](
/uploads/5371bf3edccf76290717e89e8e522fa5/led_main_2_7.mp4
)
*
./build/led_main 3 6
```
text
YELLOW ON!
...
...
This diff is collapsed.
Click to expand it.
08_14_mutex/ledThreads/led_main
deleted
100644 → 0
+
0
−
0
View file @
d67ef190
File deleted
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