| 237 | } |
| 238 | |
| 239 | extern "C" int |
| 240 | pthread_tryjoin_np(pthread_t thread, void **retval) |
| 241 | { |
| 242 | int ret; |
| 243 | |
| 244 | if (!ProcessInfo::instance().beginPthreadJoin(thread)) { |
| 245 | return EINVAL; |
| 246 | } |
| 247 | |
| 248 | { |
| 249 | WrapperLock wrapperLock; |
| 250 | ret = _real_pthread_tryjoin_np(thread, retval); |
| 251 | } |
| 252 | |
| 253 | ProcessInfo::instance().endPthreadJoin(thread); |
| 254 | return ret; |
| 255 | } |
| 256 | |
| 257 | extern "C" int |
| 258 | pthread_timedjoin_np(pthread_t thread, |
nothing calls this directly
no test coverage detected