guile-email 0.3.0 released

2023-01-06 Thread Arun Isaac
Hello all, I am pleased to announce the release of guile-email 0.3.0. Significant changes since the 0.2.2 release are described in the NEWS file. https://git.systemreboot.net/guile-email/tree/NEWS I would like to thank Andrew Whatson, Mark H Weaver, Mathieu Othacehe and Ricardo Wurmus for

Re: fibers,questions about thread id and mutation of vectors

2023-01-06 Thread Maxime Devos
no it returns something based on address: scheme@(guile-user)> (current-thread) $1 = # the good thing it is that it is different for each address, the bad is that i do not know how to extract it from the result and anyway i need a number : 0,1,2,3... ordered and being a partition to make

Re: fibers,questions about thread id and mutation of vectors

2023-01-06 Thread Damien Mattei
when void is not empty , the solution was to replace (list void) with '() :-) (define omp-get-max-threads (pointer->procedure int (dynamic-func "omp_get_max_threads" libomp) '())) On Fri, Jan 6, 2023 at 4:06 PM Damien Mattei wrote: > yes sorry i

Re: fibers,questions about thread id and mutation of vectors

2023-01-06 Thread Damien Mattei
yes sorry i misunderstand the fiber doc about mutation: https://github.com/wingo/fibers/wiki/Manual#Mutation set! and vector-set! are not wrapped.(i imaginate it ...) reply continue below: On Fri, Jan 6, 2023 at 3:12 PM Maxime Devos wrote: > > > On 06-01-2023 11:20, Damien Mattei wrote: > >

Re: fibers,questions about thread id and mutation of vectors

2023-01-06 Thread Maxime Devos
On 06-01-2023 11:20, Damien Mattei wrote: 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. There's (current-thread), but that's just Guile; it's not Fibers-specific. It's also not a number. I don't know if

fibers,questions about thread id and mutation of vectors

2023-01-06 Thread Damien Mattei
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