Hacker News new | past | comments | ask | show | jobs | submit login

That is very cool. Can this approach be made thread safe while still being fast?



It is safe as long as everything that can get into the cache starts with the validity checking prologue and there is only one thread. Making this thread-safe is probably non-trivial.




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

Search: