What is RV doing internally when you set the "syncLedger" parameter of tibrvcmTransport_Create() to TIBRV_TRUE?

What is RV doing internally when you set the "syncLedger" parameter of tibrvcmTransport_Create() to TIBRV_TRUE?

book

Article ID: KB0087132

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
When the "syncLedger" parameter is set to TIBRV_TRUE, the following happens:

- On systems that support STDIO only, we use fflush().

- On Win32, we pass the FILE_FLAG_WRITE_THROUGH parameter to CreateFile().

- On all other platforms, we use, in order of preference, O_DSYNC, O_SYNC and fsync().

Issue/Introduction

What is RV doing internally when you set the "syncLedger" parameter of tibrvcmTransport_Create() to TIBRV_TRUE?