Skip to content

Operating system specific thread ID is not available any more in Logger/Formatter. #2465

@tomaz-beltram

Description

@tomaz-beltram

Expected behavior

Logger should be able to report operating system specific thread ID.

Actual behavior

The std native_handle is returned instead when using the %O Formatter parameter.

Steps to reproduce the problem

(please make this a SSCCE, if applicable and reasonable)
Add %O option to Foundation/samples/Logger/Logger.cpp and check output.

POCO version

develop as of 13 Sep 2018.

Compiler and version

gcc 5.4

Operating system and version

Ubuntu 16.04

Other relevant information

This used to work until the C++11 changes were merged in on 20 Sep 2017 and std::thread is used across all platforms.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions