* Added thread support (not thoroughly tested).
    See also RE#54515