Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#43 ax_reg() does not return TMER_TMERR

2_-_Non_blocking
closed
5
2012-09-23
2010-06-25
No

Extracted from "The XA specification, chapter 5, page 26":

"A resource manager must call this function from the same thread of control from
which the application accesses the resource manager. A resource manager taking
advantage of this facility must have TMREGISTER set in the flags element of its
xa_switch_t structure (see Chapter 4). Moreover, ax_reg() returns failure,
[TMER_TMERR], when issued by a resource manager that has not set TMREGISTER."

Current LIXA implementation does not check TMREGISTER flag.

Discussion

  • After code review, the same issue is true for ax_unreg() too.

     
  • Temporary fix: subversion revision 365.

     
  • Fixing release: 0.5.16