| 557 | } |
| 558 | |
| 559 | bool |
| 560 | ProcessInfo::beginPthreadJoin(pthread_t thread) |
| 561 | { |
| 562 | bool res = false; |
| 563 | |
| 564 | _do_lock_tbl(); |
| 565 | map<pthread_t, pthread_t>::iterator i = _pthreadJoinId.find(thread); |
| 566 | if (i == _pthreadJoinId.end()) { |
| 567 | _pthreadJoinId[thread] = pthread_self(); |
| 568 | res = true; |
| 569 | } |
| 570 | _do_unlock_tbl(); |
| 571 | return res; |
| 572 | } |
| 573 | |
| 574 | void |
| 575 | ProcessInfo::clearPthreadJoinState(pthread_t thread) |
no test coverage detected