Subject Re: [firebird-support] Re: Still threading problems
Author Kjell Rilbe
Martijn Tonies wrote:

>>>>The problem might be with your use of <localhost>.
>>>>
>>>>I read somewhere that this creates a share memory setup that is not
>>>>threadsafe.
>>>
>>><localhost> is NOT shared memory, it's a "local loopback", the
>>>same as <hostname>
>>
>>Yes, but nothing's stopping Firebird from detecting that
>>localhost/127.0.0.1 is used, bypass the TCP/IP stack altogether and use
>>a shared memory buffer instead. This is what I've been told is the case
>>- I was unable to get my threaded app to work with localhost, I had to
>>use hostname.
>
>
> I must say I've never heard that before... :-)
>
> I wonder if this is a Firebird (client?) issue or a specific database access
> component-set issue.

OK, I checked back the discussion when I had problems. I stand
corrected. I had problems when I simply specified <database>. Changing
it to localhost:<database> solved it.

Thanks for forcing me to refresh my memory. :-)

Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64