并发与并行

并发:多个线程同时操作同一个资源,图1-1
image
图1-1

并行:多个线程同时操作多个资源,图1-2
image
图1-2

posted @ 2025-07-22 10:53  Charlie-Pang  阅读(7)  评论(0)    收藏  举报