tatami_tiledb
tatami bindings for TileDB-backed matrices
Loading...
Searching...
No Matches
serialize.hpp
Go to the documentation of this file.
1#ifndef TATAMI_TILEDB_SERIALIZE_HPP
2#define TATAMI_TILEDB_SERIALIZE_HPP
3
9namespace tatami_tiledb {
10
19template<class Function_>
20void serialize(Function_ fun) {
21#ifdef TATAMI_TILEDB_PARALLEL_LOCK
22 TATAMI_TILEDB_PARALLEL_LOCK(fun);
23#else
24 fun();
25#endif
26}
27
28}
29
30#endif
tatami bindings for TileDB matrices.
Definition DenseMatrix.hpp:20
void serialize(Function_ fun)
Definition serialize.hpp:20