Date: Thu, 17 Aug 2000 09:28:02 +0100 From: Karl Pielorz <kpielorz@tdx.co.uk> To: hackers@freebsd.org Subject: Critical (or equivalent) section in Userland? Message-ID: <399BA212.A84240AE@tdx.co.uk>
next in thread | raw e-mail | index | archive | help
Hi, 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... The software is running as user 'root' - does anyone have any pointers on how I can do this? (or how close I'll be able to get to doing this) - Theres only going to be around 6 or 7 calls to rename() but I must ensure they _all_ happen before any other process is allowed to run again... I realise that this doesn't exactly sound like good software engineering, but it's the only way I can solve a problem I'm having with Sendmail... :( Thanks for any info... Regards, Karl Pielorz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?399BA212.A84240AE>