MPLLang / mpl

The MaPLe compiler for efficient and scalable parallel functional programming
Other
306 stars 18 forks source link

Update `gdtoa` to be thread-safe #172

Closed shwestrick closed 1 year ago

shwestrick commented 1 year ago

By default, gdtoa is not thread-safe. This patch fixes that by compiling the gdtoa library with -DMULTIPLE_THREADS and updating the runtime system to interface with it.

The gdtoa library is used for functions such as Real.toString, Real.fmt, etc. This patch fixes #171.