apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm MacCarthaigh <c...@stdlib.net>
Subject Re: feasability of a portable fuser-type thing in APR?
Date Sat, 01 Jul 2006 12:04:48 GMT
On Fri, Jun 30, 2006 at 08:37:30PM -0700, Tyler MacDonald wrote:
> How hard is it to portably determine if any other processes have a file
> open, and whether they are readers and writers? 

Each kernel has its own mechanism for this, ranging from trawling kernel
memory directly to iterating through /proc/, but I can't off-hand think
of an operating system which doesn't provide this functionality. On
windows I think you need admin privs even to scan your own processess
though.

-- 
Colm MacCárthaigh                        Public Key: colm+pgp@stdlib.net

Mime
View raw message