Hi,
Now in Harbour *nix builds reopened tables and indexes share file handles
and lock queues. So far I haven't added shared IO buffers and pseudo
exclusive mode with internal locking and I do not know when I will work
on it.
Don't worry, I was looking only at MT functions, instead it would be
easy to create an array using dbinfo* functions that stores only the
info necessary to reopen dbf e cdx inside the thread.
I just wanted to suggest you something like that.
I'll add HB_WALIST()/HB_WAEVAL() functions which should help in
writing function to iterate workareas.
I guess I have a similar ideas/questions. Let's say I rewrite uhttpd
without current INIT and EXIT, and opening and closing of workareas
should be done on each request. I guess it is a slow operation, and I
would like to do some workarea caching, i.e., after thread processes
query all workareas are detached, and on new query instead of opening
workareas it can be attached. It would be useful to have: some iterator
for detached workareas, function to change alias name of workarea.
Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour