| 518 | } |
| 519 | |
| 520 | static void borrow_thread_impl() { |
| 521 | for (int i = 0; i < 32768; i++) { |
| 522 | bthread::KeyTable* keytable = bthread::borrow_keytable(&test_pool); |
| 523 | BAIDU_SCOPED_LOCK(table_mutex); |
| 524 | table_list.push_back(keytable); |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | static void* borrow_thread(void*) { |
| 529 | borrow_thread_impl(); |
no test coverage detected