fn write_on_journal(
        log: LogEnum,
        journal: &Journal<A>,
        mut notifier: Notifier<A>,
    ) -> Ptr<Log<A>, A> {
        let log = journal.write(log, notifier.clone());
        notifier.update(1);
        sfence();
        log
    }
/// Writes a `log` on a given `journal` and notifies the owner, if specified
Writes a `log` on a given `journal` and notifies the owner, if specified
Writes a ` log ` on a given ` journal ` and notifies the owner if specified
fn write_on_journal(
        log: LogEnum,
        journal: &Journal<A>,
        mut notifier: Notifier<A>,
    ) -> Ptr<Log<A>, A> {
        let log = journal.write(log, notifier.clone());
        notifier.update(1);
        sfence();
        log
    }
fn write_on_journal ( log : LogEnum , journal : & Journal < A > , mut notifier : Notifier < A > , ) -> Ptr < Log < A > , A > { let log = journal . write ( log , notifier . clone ( ) ) ; notifier . update ( 1 ) ; sfence ( ) ; log }
Writes a `log` on a given `journal` and notifies the owner, if specified
Writes a ` log ` on a given ` journal ` and notifies the owner if specified
log
LogEnum
journal
&Journal<A>
notifier
Notifier<A>