[Harbour] Re: MT question #2
Viktor Szakáts
harbour.01 at syenar.hu
Tue Jan 20 06:54:34 EST 2009
Hi Lorenzo,
Did you try hb_FTempCreate()?
hb_FTempCreate( cDir, cPrefix, FC_NORMAL, @cFileName ) ) -> fhnd
Brgds,
Viktor
On Tue, Jan 20, 2009 at 12:48 PM, Lorenzo Fiorini <lorenzo.fiorini at gmail.com
> wrote:
> On Tue, Jan 20, 2009 at 12:39 PM, Przemyslaw Czerpak <druzus at acn.waw.pl>
> wrote:
>
> > Harbour recognize that the same file is reopen using it's inode not
> > name so even if you create hard or soft links to given file then
> > it will be detected that the same file is open and existing open handle
> > reused in new workarea.
>
> Many thanks, now it's clear.
>
> I'm getting some errors with temporary files used to sort or index (
> though in a stress test ).
> What's the best way to get a unique temporay file in the same dir that
> work in *nix, osx and win that work in a mt app?
>
> best regards,
> Lorenzo
> _______________________________________________
> Harbour mailing list
> Harbour at harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.harbour-project.org/pipermail/harbour/attachments/20090120/6d2fb375/attachment.html
More information about the Harbour
mailing list