Sync

&T๊ฐ€ ์—ฌ๋Ÿฌ ์Šค๋ ˆ๋“œ์—์„œ ์ ‘๊ทผ์ด ์•ˆ์ „ํ•˜๋‹ค๋ฉด, &T์˜ ํƒ€์ž…์€ Sync์ž…๋‹ˆ๋‹ค.

A type T is Sync if it is safe to access a T value from multiple threads at the same time.

์ข€ ๋” ์ •ํ™•ํ•œ ์ •์˜๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:

More precisely, the definition is:

&T๋งŒ Send์ธ ๊ฒฝ์šฐ, T์˜ ํƒ€์ž…์€ Sync์ž…๋‹ˆ๋‹ค.

T is Sync if and only if &T is Send