Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
h365chen committed Jan 31, 2024
1 parent 7ccf43b commit b2b6bb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lectures/flipped/L09.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ Only had time to do the poem activity, but that was fun.

Times for the poem (students were told to read as fast as they could)

1 student : 42 seconds
2 students: 25 seconds
5 students: 15 seconds
| 1 student | 42 seconds |
| 2 students | 25 seconds |
| 5 students | 15 seconds |
2 changes: 1 addition & 1 deletion lectures/flipped/L10.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn main() {
if i_thread % 2 == 0 {
// Lock mutex1
// No need to specify type but yes create a dummy variable to prevent rust
// compiler from being lazy
// compiler from being lazy, e.g., eliminating the code
let _guard: MutexGuard<i64> = MUTEX1.lock().unwrap();

// Just log
Expand Down

0 comments on commit b2b6bb7

Please sign in to comment.