|
|
|
|
|
by mcguire
3298 days ago
|
|
Wait just a minute. Ralf Jung writes, "This means that the compiler considers a type like MutexGuard<T> to be Sync if all its fields are Sync." Is that true in general? Is a type thread safe if all its fields are thread safe individually? |
|