返回卡包市场

2.1.5 Thinking Concurrently

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 6内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (6 张)

#1
正面 (问题)

dealing What is meant by thinking concurrently?

背面 (解答)

• Skill which involves working out which parts of a program can be developed to take place or be processed at the same time • An application is making progress on more than one task at the same time

#2
正面 (问题)

slice What is concurrent processing?

背面 (解答)

• When each task is given a slice of processor time to make it look like the tasks are being completed simultaneously when in reality they are executed sequentially • A system is said to be concurrent if it can support two or more actions in progress at the same time

#3
正面 (问题)

smaller What is parallelism?

背面 (解答)

Application splits the tasks into smaller subtasks which can be processed in parallel

#4
正面 (问题)

multiple What is parallel processing?

背面 (解答)

When multiple processors are used to complete more than one task simultaneously

#5
正面 (问题)

RANT What are the advantages of concurrent processing?

背面 (解答)

• Reactive programming: User can interact with the application while other tasks are running in the background • Availability of services: A long running task won’t delay a short running one • Number of tasks completed in a given time is increased • Time wasted by the processor waiting for a user interaction or another process is reduced

#6
正面 (问题)

TLR What are the disadvantages of concurrent processing?

背面 (解答)

• Takes longer to process if there’s a large number of users or tasks involved as tasks cannot be completed at once • Liveness: Tasks can suspend and wait on eachother indefinitely, causing a deadlock • Resource consumption: Threads can consume resources in terms of scheduling, context-switching and synchronisation