id_traits, idm::get_last_id() added

id_traits for file/dir descriptors
idm::get_current_id() removed, thread-local last ID
This commit is contained in:
Nekotekina 2015-08-11 19:14:53 +03:00
parent d9403c2ed2
commit c2897cddd6
15 changed files with 166 additions and 165 deletions

View file

@ -18,7 +18,7 @@ lv2_timer_t::lv2_timer_t()
, period(0)
, state(SYS_TIMER_STATE_STOP)
{
auto name = fmt::format("Timer[0x%x] Thread", idm::get_current_id());
auto name = fmt::format("Timer[0x%x] Thread", idm::get_last_id());
thread.start([name]{ return name; }, [this]()
{