Przemyslaw Czerpak-2 wrote:
>
> Below I'm attaching small code which can be used for basic tests.
> If possible I would like to ask you or other xbase++ user to run
> it and send results here.
>
Here is the output from Xbase++ v1.90.331:
_TST1: recno() -> 2 recno() -> 3 locks: 2 5 6 8
_TST2: recno() -> 3
_TST3:
_TST4: recno() -> 1
detaching _tst1 Y
_TST2: recno() -> 3
_TST3:
_TST4: recno() -> 1
attaching _tst1 Y
_TST1: recno() -> 2 recno() -> 3 locks: 2 5 6 8
_TST2: recno() -> 3
_TST3:
_TST4: recno() -> 1
Of course, this output throws a fly in the ointment with regard to
documentation vs actual implementation. The child workareas did not move to
the zero workspace, the parent workarea was left with a dangling relation,
and the moved workarea retained relations that would have been invalid in
the workspace of another thread. Obviously leading to a runtime error if
the application developer does not handle the issue.
On the plus side, the source compiled and executed without modification or
error.
Regards,
Rodd Graham
--
View this message in context:
http://www.nabble.com/A-few-questions-about-MT-tp19555409p19698288.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour