guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fibers,questions about thread id and mutation of vectors


From: Damien Mattei
Subject: fibers,questions about thread id and mutation of vectors
Date: Fri, 6 Jan 2023 11:20:05 +0100

Hi,
is fibers having a way to know the thread number the code is running?
i, mean the equivalent of omp_get_thread_num(); in openMP.
Does vector-set! (i read the mutation section of the docand i suppose it is
wrapped/rewritten for fibers) in fibers let many thread access a vector
without time penalty if the index access are differents? (because if index
are different there is no real concurrency)
Regards,
Damien


reply via email to

[Prev in Thread] Current Thread [Next in Thread]