| 1790 | } |
| 1791 | |
| 1792 | struct thr_match { |
| 1793 | THREAD_ID_T id_; |
| 1794 | explicit thr_match() : id_(GetSelf()) {} |
| 1795 | |
| 1796 | bool operator()(ThreadError thr) |
| 1797 | { |
| 1798 | if (thr.threadID_ == id_) |
| 1799 | return true; |
| 1800 | return false; |
| 1801 | } |
| 1802 | }; |
| 1803 | |
| 1804 | |
| 1805 | } // local namespace |