| 342 | } |
| 343 | |
| 344 | void MoveTo(CSemaphoreGrant& grant) |
| 345 | { |
| 346 | grant.Release(); |
| 347 | grant.sem = sem; |
| 348 | grant.fHaveGrant = fHaveGrant; |
| 349 | fHaveGrant = false; |
| 350 | } |
| 351 | |
| 352 | CSemaphoreGrant() : sem(nullptr), fHaveGrant(false) {} |
| 353 |
no test coverage detected