Yes, those methods are only used/needed/present when growable memory is
combined with threads.

What is more, you should not normally need to use them directly since
emscripten should automatically convert all your heap accesses.  This is
done using the `growableHeap` in `tools/acorn-optimizer.js`.   Are you
running into cases where this is not handled automatically for you?

cheers,
sam

On Fri, Jul 7, 2023 at 5:25 PM 'Michael Hagar' via emscripten-discuss <
emscripten-discuss@googlegroups.com> wrote:

> Do I need to use the GROWABLE_HEAP_X methods if I am only using
> ALLOW_MEMORY_GROWTH, but not pthreads?
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/8917e991-3f77-4e9b-99a5-ffc94c750ef3n%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/8917e991-3f77-4e9b-99a5-ffc94c750ef3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va288jgnSprSiavXpJfy98_mfDtU%3DmqUqxsiXp%2BVKh0Z_wQ%40mail.gmail.com.

Reply via email to