0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

同期処理と非同期処理

Posted at

同期処理
 ある処理(タスクA)を実行中に、別の処理(タスクB)を実行しようとすると、タスクAが完了するまでタスクBは待機しないといけない
→実装は簡単だが、ユーザビリティに問題

非同期処理
 タスクA実行中に別のタスクBが介入しても、タスクAを待たずにBを実行できる
→ユーザビリティは保証されるが、実装が複雑

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?