Skip to content

Poco::ActiveThreadPool _targetCompleted event never reset #4634

@siren186

Description

@siren186

If a thread in the pool finised its first task, than it will call _targetCompleted.set(),
And than the thead will continue to run its second task without calling _targetCompleted.reset().

If I call the Poco::ActiveThreadPool::join() function now, it returns immediately, even though there are still many tasks in the queue that haven't been completed.

_targetCompleted.set();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions