unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* fibers,questions about thread id and mutation of vectors
@ 2023-01-06 10:20 Damien Mattei
  2023-01-06 14:12 ` Maxime Devos
  0 siblings, 1 reply; 8+ messages in thread
From: Damien Mattei @ 2023-01-06 10:20 UTC (permalink / raw)
  To: guile-user

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-01-17  9:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06 10:20 fibers,questions about thread id and mutation of vectors Damien Mattei
2023-01-06 14:12 ` Maxime Devos
2023-01-06 15:06   ` Damien Mattei
2023-01-06 17:06     ` Damien Mattei
2023-01-06 17:06     ` Maxime Devos
2023-01-13 11:10       ` Damien Mattei
2023-01-13 12:23         ` Maxime Devos
2023-01-17  9:42           ` Damien Mattei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).