Commit Graph

78 Commits

Author SHA1 Message Date
Michael Van Canneyt
1affbdc510 * Remove thread range 2025-02-12 09:18:52 +01:00
Michael Van Canneyt
b2adae02ca * Correct main/self thread functions 2025-02-07 16:44:23 +01:00
Michael Van Canneyt
e8a434cd7a * Fix thread ID to be in line with current FPC wasm 2025-02-07 09:53:34 +01:00
Michael Van Canneyt
fa88ecbe08 * Make sure TTextEncoder always operates on non-shared mem 2025-02-06 14:33:21 +01:00
Michael Van Canneyt
d0c597c68e * Use GetUTF8StringFromArray 2025-02-06 11:27:39 +01:00
Michael Van Canneyt
55a3898b8c * Threaded websockets worker handler 2025-01-30 15:51:22 +01:00
Michael Van Canneyt
755e5ffc1e * Conditional logging 2025-01-30 14:56:26 +01:00
Michael Van Canneyt
22ab77a42c * Local threadsupport variable must be set 2025-01-30 14:46:12 +01:00
Michael Van Canneyt
1178011253 * Commands must be lowercase 2025-01-30 14:45:41 +01:00
Michael Van Canneyt
0b6ae88cb3 * Centralized logging, add sending message to all workers 2025-01-30 14:45:23 +01:00
Michael Van Canneyt
a2b7d84ddf * Centralize logging for APIs 2025-01-30 14:44:54 +01:00
Michael Van Canneyt
73ac60a015 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
11092a2fd4 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
9f1aea6094 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
4095882662 * Fix compiler warnings/hints 2025-01-23 11:43:14 +01:00
Michael Van Canneyt
2995efa920 * Remove debug statement 2025-01-15 17:00:42 +01:00
Michael Van Canneyt
24ace49589 * Correct JS identifier for sharedarraybuffer 2025-01-13 18:00:06 +01:00
Michael Van Canneyt
2be256b78b TJSSharedArrayBuffer may not be defined 2025-01-13 14:17:04 +01:00
Michael Van Canneyt
3de2b72867 * Correct poll_oneoff (for sleep) 2024-12-04 22:16:25 +01:00
Michael Van Canneyt
d43a547461 * TextDecoder cannot handle shared memory, need to copy to local buffer first 2024-12-02 21:27:29 +01:00
Michael Van Canneyt
4d0e769b41 * Fix some comments 2024-12-02 21:26:51 +01:00
Michael Van Canneyt
3055de55dd * Send correct message in case of unhandled message 2024-11-27 11:49:56 +01:00
Michael Van Canneyt
7cd8b6e74d * Cosmetic change 2024-11-25 21:44:53 +01:00
Michael Van Canneyt
80293fc588 * Allow to override thread support for worker thread app 2024-11-25 21:30:07 +01:00
Michael Van Canneyt
8e48a6903c * Make HandleCustomCommand virtual protected... 2024-11-25 21:17:39 +01:00
Michael Van Canneyt
f238a62ba6 * Give application a chance to look at the message before handing it over to tthread support 2024-11-25 21:09:18 +01:00
Michael Van Canneyt
bd36c15d6a * Allow specify worker 2024-11-08 16:14:17 +01:00
Michael Van Canneyt
b12abb26a6 * Publish Self_ 2024-11-08 09:18:51 +01:00
Michael Van Canneyt
5876e535a2 * Allow execution of functions in libraries through a JSON-RPC mechanism 2024-11-07 17:52:54 +01:00
Michael Van Canneyt
028405d67f * Add Host 2024-11-07 15:07:52 +01:00
Michael Van Canneyt
de31826647 * Refactor so we can start threaded wasm application in a webworker 2024-11-06 00:00:48 +01:00
Michael Van Canneyt
afb8872fcb * Remove some unused variables 2024-11-05 23:57:26 +01:00
Michael Van Canneyt
b3c3e36b75 * Execute command 2024-11-05 23:57:04 +01:00
Michael Van Canneyt
9f2392d4fd * Fix threading, in accordance with new specs 2024-11-04 16:11:12 +01:00
Michael Van Canneyt
da93fd1eb0 * Write string into memory using approach that also works in threads 2024-11-04 16:11:12 +01:00
mattias
eefc736a93 clean up 2024-10-15 11:22:14 +02:00
Michael Van Canneyt
368b3ecf71 GetMemInfo calls 2024-09-07 17:38:39 +02:00
Michael Van Canneyt
8770967f35 * Console log changed to error in case of exception 2024-08-20 17:05:51 +02:00
Michael Van Canneyt
767c226db7 * Correct write at 2024-08-19 15:09:20 +02:00
Michael Van Canneyt
c1a482a13e * No double seek, 2024-08-19 15:08:34 +02:00
Michael Van Canneyt
2db04c9e87 * Sizes of Floats 2024-08-09 16:24:04 +02:00
Michael Van Canneyt
63a8c9c137 * Do not try to instantiate webassembly if fetch did not result in status 200. 2024-07-29 15:29:33 +02:00
Michael Van Canneyt
1e06d5e814 * Wasi environment 2024-06-17 10:37:41 +02:00
Michael Van Canneyt
e92717f761 * Correct WasiExports after InstanceExports change 2024-06-14 17:45:13 +02:00
Michael Van Canneyt
fa69bdea7d * Introduce instanceexports at the extension level 2024-06-14 17:37:46 +02:00
Michaël Van Canneyt
7c9edfcac7 * Preload files 2024-06-06 14:41:30 +02:00
Michaël Van Canneyt
b84e5c60bf * Make explicit what arguments are memory locations 2024-06-06 14:40:54 +02:00
Michaël Van Canneyt
b030773e41 * Solution for FPC flush() mid-codepoint. 2024-05-19 16:33:58 +02:00
Michaël Van Canneyt
5d3abdcc5d * Add FindFirst/FindNext support 2024-05-19 15:37:31 +02:00
Michaël Van Canneyt
07f11729cc * Fix typo for namespaced use 2024-05-19 08:28:12 +02:00