Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a->Lock();
- b->Lock();
- for(int i = 0; i < 9999; ++i)
- {
- bool skip = false;
- for(int j = 0; j < 9999; ++j)
- {
- if(/* Test Some Condition To Skip Involving Object a and b*/)
- {
- skip = true;
- break;
- }
- }
- if(skip) continue;
- // Do Something Important Here
- }
- b->Unlock();
- a->Unlock();
Add Comment
Please, Sign In to add comment