Home
last modified time | relevance | path

Searched refs:__thread_id (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/libstdc++/src/
H A Dmt_allocator.cc265 const size_t __thread_id = _M_get_thread_id(); in _M_reclaim_block() local
270 size_t __remove = __bin._M_free[__thread_id]; in _M_reclaim_block()
305 __bin._M_free[__thread_id] -= __removed; in _M_reclaim_block()
317 --__bin._M_used[__thread_id]; in _M_reclaim_block()
322 __bin._M_first[__thread_id] = __block_record; in _M_reclaim_block()
324 ++__bin._M_free[__thread_id]; in _M_reclaim_block()
365 __bin._M_used[__thread_id] -= __reclaimed; in _M_reserve_block()
406 __bin._M_free[__thread_id] = __block_count; in _M_reserve_block()
442 __block_record->_M_thread_id = __thread_id; in _M_reserve_block()
443 --__bin._M_free[__thread_id]; in _M_reserve_block()
[all …]
/freebsd-12.1/contrib/libc++/include/
H A D__threading_support398 class _LIBCPP_TYPE_VIS __thread_id;
407 template<> struct hash<__thread_id>;
409 class _LIBCPP_TEMPLATE_VIS __thread_id
418 __thread_id() _NOEXCEPT : __id_(0) {}
421 bool operator==(__thread_id __x, __thread_id __y) _NOEXCEPT
428 bool operator!=(__thread_id __x, __thread_id __y) _NOEXCEPT
431 bool operator< (__thread_id __x, __thread_id __y) _NOEXCEPT
438 bool operator<=(__thread_id __x, __thread_id __y) _NOEXCEPT
441 bool operator> (__thread_id __x, __thread_id __y) _NOEXCEPT
444 bool operator>=(__thread_id __x, __thread_id __y) _NOEXCEPT
[all …]
H A Dthread205 struct _LIBCPP_TEMPLATE_VIS hash<__thread_id>
206 : public unary_function<__thread_id, size_t>
209 size_t operator()(__thread_id __v) const _NOEXCEPT
218 operator<<(basic_ostream<_CharT, _Traits>& __os, __thread_id __id)
228 typedef __thread_id id;
H A Dmutex283 __thread_id __id_;
310 __thread_id __id = this_thread::get_id();
/freebsd-12.1/contrib/libstdc++/include/ext/
H A Dmt_allocator.h224 _M_reserve_block(size_t __bytes, const size_t __thread_id);
335 _M_reserve_block(size_t __bytes, const size_t __thread_id);
346 size_t __thread_id) in _M_adjust_freelist() argument
350 __block_record->_M_thread_id = __thread_id; in _M_adjust_freelist()
351 --__bin._M_free[__thread_id]; in _M_adjust_freelist()
352 ++__bin._M_used[__thread_id]; in _M_adjust_freelist()
689 const size_t __thread_id = __pool._M_get_thread_id();
696 if (__bin._M_first[__thread_id])
700 _Block_record* __block_record = __bin._M_first[__thread_id];
701 __bin._M_first[__thread_id] = __block_record->_M_next;
[all …]
/freebsd-12.1/contrib/libc++/src/
H A Dmutex.cpp145 __thread_id id = this_thread::get_id(); in lock()
163 __thread_id id = this_thread::get_id(); in try_lock()