[PATCH] D49025: [XRay] basic mode PID and TID always fetch

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 5 18:08:54 PST 2018


krytarowski added a comment.

This test seems to have a Linux assumption and I have concerns how to port it to NetBSD.

On NetBSD TIDs start from 1 to N in each process. Each process has a single distinct PID. TID numbers are not unique. PID numbers are unique.

On Linux TID is effectively PID and this is linuxism.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D49025





More information about the llvm-commits mailing list