Re: FW: ompd_get_thread_id in OMPD implementation

2022-04-29 Thread Jakub Jelinek via Gcc
On Sat, Apr 09, 2022 at 12:38:11AM +0200, Ahmed Sayed Mousse wrote: > Sorry for the late reply. > I did check gomp_thread_self but I'm still not sure about what I should do, > maybe because I lack experience/knowledge. > Here is where my thinking is going right now and I hope you tell me if I'm > w

FW: ompd_get_thread_id in OMPD implementation

2022-04-08 Thread Ahmed Sayed Mousse via Gcc
Sorry for the late reply. I did check gomp_thread_self but I'm still not sure about what I should do, maybe because I lack experience/knowledge. Here is where my thinking is going right now and I hope you tell me if I'm wrong. in gomp_thread_to_pthread_t there are 4 possible outputs 1 - if LIBGOMP