Re: [PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-06-05 Thread David CARLIER
>From 5f0b74a75906a9a043ce4874e7f09dedcad7e6e7 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 5 Jun 2020 17:18:25 +0100 Subject: [PATCH] util/oslib: Returns real thread identifier on FreeBSD, OpenBSD and NetBSD getpid is good enough in a mono thread context, however thr_self/getthrid/_l

Re: [PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-06-03 Thread Li-Wen Hsu
Sorry that I am not familiar with this part so I asked others to help review (the FreeBSD related code). It's good and please append: Reviewed-by: Edward Tomasz Napierala Thanks! On Wed, Jun 3, 2020 at 2:14 PM David CARLIER wrote: > > Sorry it landed in the spam. > > It does make things more

Re: [PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-06-02 Thread David CARLIER
Sorry it landed in the spam. It does make things more accurate, thus a bit more than cosmetic, as stated in the commit message, thr_self/_lwp_self represents the current thread id in multi thread context. For OpenBSD it is syscall(SYS_getthrid) I believe https://man.openbsd.org/getthrid.2 On Wed

Re: [PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-06-02 Thread Philippe Mathieu-Daudé
ping? On 5/26/20 9:29 AM, David CARLIER wrote: > From 792fbcd9114f43bd80fd1ef5b25cd9935a536f9f Mon Sep 17 00:00:00 2001 > From: David Carlier > Date: Tue, 26 May 2020 08:25:26 +0100 > Subject: [PATCH] util/oslib: Returns the real thread identifier on FreeBSD and > NetBSD > > getpid is good enou

Re: [PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-05-26 Thread Kamil Rytarowski
Reviewed-by: Kamil Rytarowski On 26.05.2020 09:29, David CARLIER wrote: > From 792fbcd9114f43bd80fd1ef5b25cd9935a536f9f Mon Sep 17 00:00:00 2001 > From: David Carlier > Date: Tue, 26 May 2020 08:25:26 +0100 > Subject: [PATCH] util/oslib: Returns the real thread identifier on FreeBSD and > NetBS

Re: [PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-05-26 Thread David CARLIER
>From 792fbcd9114f43bd80fd1ef5b25cd9935a536f9f Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 26 May 2020 08:25:26 +0100 Subject: [PATCH] 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 refl

Re: [PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-05-25 Thread Thomas Huth
On 23/05/2020 09.23, David CARLIER wrote: > Hi this is my first contribution hope it s useful . Regards. Hi! Thanks for your contribution. Some hints for getting your patch included: - Please make sure to CC: the corresponding maintainers, otherwise your patch might get lost in the high traffic

[PATCH 1/1] util/oslib: Returns real thread identifier on FreeBSD and NetBSD

2020-05-23 Thread David CARLIER
Hi this is my first contribution hope it s useful . Regards. >From ca7fcd85e0453f7173ce73732905463bc259ee32 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 23 May 2020 08:17:51 +0100 Subject: [PATCH] util/oslib: returns real thread identifier on FreeBSD and NetBSD Signed-off-by: David Ca