| 208 | } |
| 209 | |
| 210 | inline int32_t ThreadPool::getCurrentId() const { |
| 211 | auto current = getCurrent(); |
| 212 | if (this == current->second) { |
| 213 | return current->first; |
| 214 | } |
| 215 | return -1; |
| 216 | } |
| 217 | |
| 218 | inline size_t ThreadPool::getItemCount() const { |
| 219 | size_t ret = 0; |
no outgoing calls