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
dge around this part. *From: *Ahmed Sayed Mousse *Sent: *Wednesday, March 23, 2022 7:23 PM *To: *gcc-h...@gcc.gnu.org *Cc: *ja...@redhat.com *Subject: *ompd_get_thread_id in OMPD implementation Hi everyone, I was doing a research to help me implement the function “ompd_get_thread_id” from the Op

ompd_get_thread_id() in OMPD implementation

2022-03-25 Thread Ahmed Sayed Mousse via Gcc
Hi everyone, I was doing a research to help me implement the function “ompd_get_thread_id” from the OpenMP API specification under section 20.5.5.5. In this function I need to return a native thread identifier and from research I found that it’s a “pthread_t” handle which exists inside a struct