Re: Fw: Re: [Patch, fortran] PR37336 (Finalization) - [F03] Finish derived-type finalization

2023-01-05 Thread Jerry D via Fortran
On 1/5/23 1:14 PM, Harald Anlauf via Fortran wrote: Resending as plain text, as the original version did not appear on the fortran list... Gesendet: Donnerstag, 05. Januar 2023 um 22:10 Uhr Von: "Harald Anlauf" An: "Paul Richard Thomas" Cc: "fortran@gcc.gnu.org" , "Alessandro Fanfarillo"

Fw: Re: [Patch, fortran] PR37336 (Finalization) - [F03] Finish derived-type finalization

2023-01-05 Thread Harald Anlauf via Fortran
Resending as plain text, as the original version did not appear on the fortran list...   Gesendet: Donnerstag, 05. Januar 2023 um 22:10 Uhr Von: "Harald Anlauf" An: "Paul Richard Thomas" Cc: "fortran@gcc.gnu.org" , "Alessandro Fanfarillo" , "Andrew Benson" , "Thomas Koenig" , "Damian Rouson"

RE: [PATCH v2] libgfortran: Replace mutex with rwlock

2023-01-05 Thread Zhu, Lipeng via Fortran
> > Hi Lipeng, > > > > > This patch try to introduce the rwlock and split the read/write to > > > unit_root tree and unit_cache with rwlock instead of the mutex to > > > increase CPU efficiency. In the get_gfc_unit function, the > > > percentage to step into the insert_unit function is around 3