diff options
| author | David Carlier | 2020-05-26 09:25:26 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-06-10 18:10:48 +0200 |
| commit | 9548a891738424a09eae9ef6e3826ef930cdd598 (patch) | |
| tree | e19b912e308f0de98c9b7cfb9ab9efe0a273bde3 /include/exec | |
| parent | target/i386: define a new MSR based feature word - FEAT_PERF_CAPABILITIES (diff) | |
| download | qemu-9548a891738424a09eae9ef6e3826ef930cdd598.tar.gz qemu-9548a891738424a09eae9ef6e3826ef930cdd598.tar.xz qemu-9548a891738424a09eae9ef6e3826ef930cdd598.zip | |
util/oslib: Returns the real thread identifier on FreeBSD and NetBSD
getpid is good enough in a mono thread context, however thr_self/_lwp_self
reflects the real current thread identifier from a given process.
Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
