[Harbour] Are there MT issues in contrib/hbpgsql?

Lorenzo Fiorini lorenzo.fiorini at gmail.com
Tue Feb 2 13:18:19 EST 2010


2010/2/2 Przemysław Czerpak <druzus at acn.waw.pl>:

> Add Harbour wrapper to function which returns thread safe status
> and check it. And of course check if you are using new separate
> concatenation in each thread in your own code.

Ok, I'll check it.

> BTW someone should update contrib/hbpgsql/postgres.c to use
> GC pointers for PGcancel* and PGresult* like for PGconn* and
> add RTE when wrong parameters are passed to functions.

I'll try to do it.

BTW did you see my msg "Help with segfaults with MT and hb_hrbload?"
I've created a test with pure prg code but I still get random errors.

Any suggestion?

best regards,
Lorenzo


More information about the Harbour mailing list