Re: Notification of file system modification arrives too early?
Re: Notification of file system modification arrives too early?
- Subject: Re: Notification of file system modification arrives too early?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 31 May 2010 09:37:16 +0200
Le 31 mai 2010 à 05:39, Dave Keck a écrit :
>> Unfortunately you probably can’t do any better than that, since there’s no
> cheap way to find out if another process has the file open.
>
> proc_listpidspath() is meant for this, but it is indeed quite expensive. In
> my testing, it takes about a second to complete this call; furthermore, its
> status as a supported API is unclear.
Really ? I find the first comment in libproc.h pretty clear about it.
============
/*
* This header file contains private interfaces to obtain process information.
* These interfaces are subject to change in future releases.
*/
-- Jean-Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden