rename()

John Tytgat John.Tytgat at aaug.net
Fri Aug 13 10:50:51 PDT 2004


In message <411C84BE.50306 at sqrt.co.uk>
          Nick Burrett <nick at sqrt.co.uk> wrote:

> Within the environmet of pthreads, this could be done.  But I've just 
> realised you said concurrent processes, not threads.  I don't suppose 
> there is any function to lock a file system.  Mind you if there was, 
> then the way applications are written, they'd fail and probably terminate.
> 
> I'm not sure.

I guess if pthread switching is disabled and you make sure no callbacks
can kick in (running in SVC mode ?), I think you have what you want
to have.  Any particular usecase where this is wanted ?

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven



More information about the gcc mailing list