Subject | Re: [firebird-support] Re: Still threading problems |
---|---|
Author | Kjell Rilbe |
Post date | 2005-05-12T11:21:58Z |
Martijn Tonies wrote:
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
>>>>The problem might be with your use of <localhost>.OK, I checked back the discussion when I had problems. I stand
>>>>
>>>>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.
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