Opened 5 years ago

Closed 3 years ago

#8905 closed Bugs (fixed)

boost/test/impl/debug.ipp: Ignores return value from WaitForSingleObject

Reported by: Jeffrey Walton <noloader@…> Owned by: Raffi Enficiaud
Milestone: Boost 1.61.0 Component: test
Version: Boost 1.54.0 Severity: Problem
Keywords: test synchronization WaitForSingleObject API failure Cc:

Description

boost/test/impl/debug.ipp ignores the return value from WaitForSingleObject? at line 848. I understand this is just a test module, but test modules fail too.

Perhaps it would be a good idea to verify WAIT_OBJECT_0 was returned, and not something unexpected like WAIT_FAILED or WAIT_TIMEOUT (even with INFINITE).

Change History (3)

comment:1 Changed 3 years ago by Raffi Enficiaud

Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Status: newassigned

comment:2 Changed 3 years ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.61.0

comment:3 Changed 3 years ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed

Merged in master: a0cfbd0a2ae6b22ed3d587733c09ff5e46dff107 / merged 2b918d0bd56cd2add28a1e35c6a2d0fd8c60cf90

Note: See TracTickets for help on using tickets.