Send
T
๊ฐ ์ค๋ ๋ ๊ฐ ์ด๋์ด ์์ ํ๋ค๋ฉด,T
์ ํ์ ์Send
์ ๋๋ค.A type
T
isSend
if it is safe to move aT
value to another thread.
์์ ๊ถ์ ๋ค๋ฅธ ์ค๋ ๋๋ก ์ด๋ํ๋ฉด ์๋ฉธ์๊ฐ ํด๋น ์ค๋ ๋์์ ์คํ๋ฉ๋๋ค.
์ฌ๊ธฐ์ ์๋ฌธ์ ์ธ์ ํ ์ค๋ ๋์์ ๊ฐ์ ํ ๋นํ๊ณ ๋ค๋ฅธ ์ค๋ ๋์์ ๊ฐ์ ํ ๋น ํด์ ํ ์ ์๋๊ฐ ์ ๋๋ค.
The effect of moving ownership to another thread is that destructors will run in that thread. So the question is when you can allocate a value in one thread and deallocate it in another.