- Add get_ptr_type() method to all wait flag types.
- Flag in sleep_loc may change type by the time the resume is called from __kmp_null_resume_wrapper. We use get_ptr_type to obtain the real type and compare it to the casted object received. If they don't match, we know the flag has changed (already resumed and replaced by another flag). If they match, it doesn't hurt to go ahead and resume it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM