Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you give an example?


Any time you would have backpointers that need to get updated when the pointee object moves. One example would be a pair of noncopyable promise send/receive objects, each with a pointer to the other. Or just one end could be copyable. Or take green threads single-core mutexes and their acquirers. The acquirers should be able to be moved around without getting "lost".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: