TLog_Iter_Pipe

This sample demonstrates the use of flags MCO_TRANSLOG_ITERABLE and MCO_TRANSLOG_PIPE to transfer the log through a pipe to another thread or another application and iterate the log on the reader side. (Note the use of runtime option MCO_RT_OPTION_MARK_LAST_OBJ which makes an additional call to the user defined callback indicating that the current transaction has completed.)

How to Run

See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the \target\bin directory:

 
    tlogiterpipe
     

But it is more instructive to run it in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics