how to implement it?
simply using mutex on every table slot is both time and space expensive.
how to use read/write lock to solve it?
how about each slot has a thread pool? every thread can only access its own space.
【在 h*********n 的大作中提到】 : how to implement it? : simply using mutex on every table slot is both time and space expensive. : how to use read/write lock to solve it? : how about each slot has a thread pool? every thread can only access its own space.