Function getCurrentId [src]

Returns the platform ID of the callers thread. Attempts to use thread locals and avoid syscalls when possible.

Prototype

pub fn getCurrentId() Id

Source

pub fn getCurrentId() Id { return Impl.getCurrentId(); }