Mon, 03 May 2010 12:55:16 +0300, Jiri Cincura <disk...@cincura.net>: > On Sat, Apr 17, 2010 at 18:54, Ivan Arabadzhiev > <intelru...@unrealsoft.net> wrote: >> Actually I just don`t like the idea of unnesesary connections(I have a >> thing about wasted resources) so I use just one, doing one thing at a >> time >> on different threads(gui or background). I find the idea useful and >> thought other people might like it :) > > It's much harder and expensive to have locks in code then sometime > spin up a new connection. >
On the client - yes, on the server - not really :). Plus having a single connection suggests it`s "all or nothing" and you can`t have a single tcp stream broken, while the other one "gets lucky" and so on. Looking back - it`s a bad habbit of mine, which should not be spread (hope it`s not catchy :D). BTW Could I "reroute" the .net client to fbclient.dll v 2.5. (calling it embedded on connection) and will it break if I were to use it in multiple threads (or is most of the code native and therefore thread safe) ? -- Sanity is a sin! ------------------------------------------------------------------------------ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider