Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sltkr
15 days ago
|
parent
|
context
|
favorite
| on:
What algorithm did Windows XP use to choose your i...
The current implementation has the same race condition: the sampled file may be deleted by the time SHSetUserPicturePath() is called.
layer8
15 days ago
[–]
Yes, but the the implementation with the additional iteration also has to have extra checks for that iteration, because it can't blindly iterate to the
i
th file, as there may not be
i
files anymore. So the implementation gets more complex overall.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: