Function lsst::log::lwpID

Function Documentation

unsigned lsst::log::lwpID()

Function which returns LWP ID on platforms which support it.

On all other platforms a small incremental integer number (counting number of threads) is returned. This function can be used to produce more human-friendly thread ID for logging instead of regular t format.