mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 17:26:48 +08:00
upd: add [TBD] comment
This commit is contained in:
parent
bde06d7b0d
commit
26c5078d1b
@ -130,7 +130,7 @@ class gripper {
|
||||
auto px = fmt("[{}][{:%Y-%m-%d %H:%M:%S}.{:03}][{}] ", types[enum_cast(l)], tp, ms, func_);
|
||||
printer_.output(l, std::move(px += fmt(std::forward<Fmt>(ft), std::forward<A>(args)...)));
|
||||
} catch (std::exception const &e) {
|
||||
/// @brief [TBD] std::string constructor may throw an exception
|
||||
/// @remark [TBD] std::string constructor may throw an exception
|
||||
printer_.output(level::failed, e.what());
|
||||
}
|
||||
return *this;
|
||||
|
||||
@ -35,6 +35,10 @@ LIBIMP_EXPORT void *shm_get(shm_t) noexcept;
|
||||
/// @return 0 on failure.
|
||||
LIBIMP_EXPORT std::size_t shm_size(shm_t) noexcept;
|
||||
|
||||
/// @brief Sets the memory size based on the shared memory handle.
|
||||
/// @remark [TBD]
|
||||
LIBIMP_EXPORT ::LIBIMP_::result_code shm_size(shm_t, std::size_t) noexcept;
|
||||
|
||||
/// @brief Gets the name of the shared memory file based on the shared memory handle.
|
||||
/// @return empty string on failure.
|
||||
LIBIMP_EXPORT std::string shm_name(shm_t) noexcept;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user