From 73efecca42dbc44200e797e02f8c1e24fcff26ef Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 5 Jun 2025 10:13:28 +0200 Subject: Added two more examples --- 04_no_block/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 04_no_block/build.sh (limited to '04_no_block/build.sh') diff --git a/04_no_block/build.sh b/04_no_block/build.sh new file mode 100755 index 0000000..2f08909 --- /dev/null +++ b/04_no_block/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +mkdir -p build +emcc -sEXPORTED_FUNCTIONS=_primes_in_range -sMODULARIZE -sEXPORT_NAME=Primes \ + -pthread -sPTHREAD_POOL_SIZE=16 \ + -o build/primes.mjs primes.c -- cgit v1.3