Skip navigation.
 
mlRe: My app breaks when moved while running
FROM : Kyle Sluder
DATE : Fri Feb 08 18:16:34 2008

On Feb 8, 2008 12:11 PM, Jens Alfke <<email_removed>> wrote:
> Another issue with caching aliases is that it's prone to race
> conditions. At some point you have to dereference the alias into a
> path, and then use the path. If the app moves in between those two
> moments, the attempt to use the path will fail.


Alias records since 10.3 (I think) dereference based on path
heuristics first, and then fall back on attribute matching.  While not
immune to the race condition (call to dereference, block on IO, get
scheduled off processor, file moves and is truncated or something, get
scheduled back on processor and begin executing) it's at least a bit
more resilient.

--Kyle Sluder

Related mailsAuthorDate
mlMy app breaks when moved while running Sanford Selznick Feb 7, 20:50
mlRe: My app breaks when moved while running Phil Feb 7, 21:31
mlRe: My app breaks when moved while running William Bates Feb 8, 04:28
mlRe: My app breaks when moved while running Mac Man Feb 8, 05:38
mlRe: My app breaks when moved while running Gregory Weston Feb 8, 13:42
mlRe: My app breaks when moved while running Sean McBride Feb 8, 16:37
mlRe: My app breaks when moved while running Jens Alfke Feb 8, 18:11
mlRe: My app breaks when moved while running Kyle Sluder Feb 8, 18:16
mlRe: My app breaks when moved while running Phil Feb 8, 21:06
mlRe: My app breaks when moved while running William Bates Feb 8, 22:52
mlRe: My app breaks when moved while running Stephen Hoffman Feb 9, 00:19
mlRe: My app breaks when moved while running Stephen Hoffman Feb 9, 00:32