On Thu, Aug 17, 2000 at 09:28:02AM +0100, Karl Pielorz wrote:
> I'm writing a program under FreeBSD 3.X that has been forced into having to
> make a number of rename() calls that must be completed atomically (i.e. all
> together) without the process being interrupted, or any other process being
> allowed to run...
This isn't possible without serious hackery - you don't want to do
it.
If all the files exist below one directory you could swap the
directories with two renames, but that won't be atomic either. I
think your best bet would be rethink what you want to do.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Critical (or equivalent) section in Userland? Karl Pielorz
- Re: Critical (or equivalent) section in Userla... David Malone
- Re: Critical (or equivalent) section in Us... Archie Cobbs
- Re: Critical (or equivalent) section in Userla... Thomas Valentino Crimi
- Re: Critical (or equivalent) section in Us... Karl Pielorz
- Re: Critical (or equivalent) section in Us... David Malone
- Re: Critical (or equivalent) section in Us... John Polstra
- Re: Critical (or equivalent) section in Us... Warner Losh
- Re: Critical (or equivalent) section in Userla... Warner Losh
- Re: Critical (or equivalent) section in Us... Warner Losh
- Re: Critical (or equivalent) section i... Karl Pielorz
- Re: Critical (or equivalent) section i... Warner Losh

