Commit Graph

89 Commits

Author SHA1 Message Date
Michael Van Canneyt
84679edbf0 * Cleanup worker after thread has been run 2025-04-02 16:45:42 +02:00
Michael Van Canneyt
74fbb1f24f * Add SendoutputToConsole boolean for better control of output 2025-03-24 10:31:07 +01:00
Michael Van Canneyt
d019335646 * Take into account SendOutputToBrowser (2) 2025-03-24 10:27:58 +01:00
Michael Van Canneyt
57c841e471 * Take into account SendOutputToBrowser 2025-03-24 10:24:49 +01:00
Michael Van Canneyt
a4ffb0957d * Threadhost property for easy access to thread host class 2025-03-24 10:19:56 +01:00
Michael Van Canneyt
254187c03c * Started message 2025-03-20 14:56:53 +01:00
Michael Van Canneyt
b795f4ed7a * Make preparewebassemblythread a public method 2025-03-10 10:40:41 +01:00
Michael Van Canneyt
6a6ce34a86 * Use correct self 2025-03-03 17:22:11 +01:00
Michaël Van Canneyt
6b403cd949 * Avoid warnings about (U)Int64 not being implemented 2025-02-28 09:30:40 +01:00
Michael Van Canneyt
3a33eee80d Restore default memory 2025-02-14 15:28:12 +01:00
Michael Van Canneyt
ad2ee34f56 * Sendcommandtothread 2025-02-12 09:19:11 +01:00
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