Synchronization Tools

Synchronization Tools

Assessment

Flashcard

Other

University

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Race Condition xảy ra khi nào?

Back

Khi nhiều tiến trình cùng truy cập và thay đổi biến chia sẻ mà không có cơ chế đồng bộ

2.

FLASHCARD QUESTION

Front

Yêu cầu nào KHÔNG thuộc giải pháp cho Critical-Section Problem? Options: Mutual Exclusion, Progress, Bounded Waiting, Deadlock Prevention

Back

Deadlock Prevention

3.

FLASHCARD QUESTION

Front

Giải pháp Peterson sử dụng những biến chia sẻ nào?

Back

turn và flag[2]

4.

FLASHCARD QUESTION

Front

Tại sao Peterson’s Solution có thể không hoạt động trên kiến trúc hiện đại?

Back

Do trình biên dịch/hệ thống reorder các instruction độc lập

5.

FLASHCARD QUESTION

Front

Hardware instruction nào sau đây dùng để đảm bảo atomicity? fork(), test_and_set(), malloc(), printf()

Back

test_and_set()

6.

FLASHCARD QUESTION

Front

Mutex lock khác với Semaphore ở điểm nào?

Back

Mutex chỉ có giá trị Lock và Unlock, Semaphore có thể là số nguyên dương

7.

FLASHCARD QUESTION

Front

Monitor là gì?

Back

Một abstract data type đảm bảo chỉ một tiến trình được hoạt động bên trong tại một thời điểm

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?