[Ecls-list] [PATCH] Improve floating-point exception handling.

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Jun 2 08:32:40 UTC 2009


On Tue, Jun 2, 2009 at 10:27 AM, Alexander Gavrilov
<angavrilov at gmail.com> wrote:
> By the way, that 'static int last_bits' in si_trap_fpe is not very
> thread-safe. This value probably should be in the environment
> structure, because exception configuration is independent for
> different threads.

Are you sure of this? The ISO C99 manual pages and the Linux manual
pages do not say anything about threads.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list