On Mon, 09 Feb 2009, Massimo Belgrano wrote:

Hi Massimo,

> Without a sample feature like this are impossible tu use for me
> Is possible post ultra little sample in changelog

I'm afraid I do not understand what you are asking for.
The documentation and examples for HSX indexes you can
find in the inet and ChangeLog. Our HSX implementation
if fully SIX3 and CFTS compatible. I also added additonal
documentation for some Harbour extensions in harbour/
source/rdd/hsx/hsx.c header file. You can also find simple
example/test code for HSX in harbour/tests directory.
In harbour/source/rdd/usrrdd/rdds/hscdx.prg you have
simple RDD example which introduce automatically updated
HSX indexes.
HB_DEATCH()/HB_REQUEST() it's my typo - by mistake 'DB'
is eaten. These functions are called db_dbDetach() and
hb_dbRequest(). This mechanism was discussed here and
I was sending different examples for using it. You can
also see such example in harbour/tests/mt or in xbase++
documentation where such functions are called dbRelease()
and dbRequest() - Harbour also supports original xbase++
names so you can use them if you prefer it.

The last modification in HSX allows to use HSX index
created by one thread in another one because they are not
longer thread local stored in TSD but global to Harbour
application. If you do no understand the difference then
any examples will not help in this case because it's rather
general MT programming knowledge and here it's necessary to
understand MT programming rules. Any examples will look like
the ones which already exists (see above).

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to