Opened 7 years ago

Closed 7 years ago

#5831 closed Support Requests (invalid)

condition.cpp: enter_wait(), do_wait(), do_timed_wait() swallows errors from WaitForSingleObject

Reported by: noloader@… Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc: noloader@…, viboes

Description

enter_wait(), do_wait(), do_timed_wait() silently swallows errors from WaitForSingleObject?.

Also see Ticket 5826 and friends.

Change History (5)

comment:1 Changed 7 years ago by Jeffrey Walton <noloader@…>

Component: Nonethread
Owner: set to Anthony Williams

comment:2 Changed 7 years ago by Jeffrey Walton <noloader@…>

Cc: noloader@… added

assert(res == WAIT_OBJECT_0) might be too tight - assert(res == WAIT_OBJECT_0 || res == WAIT_ABANDONED_0) might be a better choice.

comment:3 Changed 7 years ago by viboes

Type: BugsSupport Requests

Sorry, I don't see any file libs/thread/src/condition.cpp. Moved to support request until concerned file clarified.

comment:4 Changed 7 years ago by viboes

Cc: viboes added
Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:5 Changed 7 years ago by viboes

Resolution: invalid
Status: assignedclosed

Closed as it seems this doesn't corresponds to the current Boost.Thread implementation.

Note: See TracTickets for help on using tickets.