Nikolay Nikolov
|
af5c2d66c2
* removed TODO comment from WasiThreadSwitch
|
1 year ago |
Nikolay Nikolov
|
5d058258fc
+ added some more comments in wasi_thread_start
|
1 year ago |
Nikolay Nikolov
|
a0e1dce1fd
* WebAssembly threads: call fpc_wasm32_init_tls from inline asm code to avoid
|
1 year ago |
Nikolay Nikolov
|
fcfce9f2d5
* WebAssembly threads: implement WasiEndThread using exceptions. There's no
|
1 year ago |
Nikolay Nikolov
|
e03389c6a8
* WebAssembly threads: destroy the event and mutex in WasiBeginThread in case wasi_thread_spawn fails
|
1 year ago |
Nikolay Nikolov
|
77d592221a
* WebAssembly threads: use New and Dispose instead of GetMem/FreeMem for allocating/freeing TWasmThread
|
1 year ago |
Nikolay Nikolov
|
f23cc9ec6d
* WebAssembly threads: free the stack block and TLS block in case wasi_thread_spawn fails
|
1 year ago |
Nikolay Nikolov
|
9e0b2869a3
* WebAssembly threads: disable stack checking for the FPCWasmThreadStartPascal procedure
|
1 year ago |
Nikolay Nikolov
|
9d771396ff
+ WebAssembly threads: init StackBottom (used for stack checking) more precisely
|
1 year ago |
Nikolay Nikolov
|
da59711442
* WebAssembly threads: pass the stack size to InitThread when starting a new thread
|
1 year ago |
Nikolay Nikolov
|
3c027b0ba0
* WebAssembly threads: use the stack size, specified for the main thread (via
|
1 year ago |
Nikolay Nikolov
|
a417b0db9b
* WebAssembly threads: simplified (optimized) the implementation of
|
1 year ago |
Nikolay Nikolov
|
801f902efe
* WebAssembly threads: fix threadvars with the new WASI-threads implementation
|
1 year ago |
Nikolay Nikolov
|
7681c192db
* WebAssembly threads: protect SysOSAlloc against race conditions via a critical section
|
1 year ago |
Nikolay Nikolov
|
31bb06ac87
+ WebAssembly threads: initial implementation of the WASI threads proposal:
|
1 year ago |
Nikolay Nikolov
|
a179ca8cf8
* WebAssembly mutex: changed the timeout parameter to be in nanoseconds (these
|
1 year ago |
Nikolay Nikolov
|
5de7084d35
* WasiRTLEventWaitFor_WaitNotAllowed: treat timeout of 0 as zero wait time,
|
1 year ago |
Nikolay Nikolov
|
038ecaef92
* fixed WasiRTLEventWaitFor_WaitAllowed: second parameter is expected value to wait on (0), not wait to wait for (1)
|
1 year ago |
Nikolay Nikolov
|
2fb300c5c0
* fixes to WebAssembly RTLEventWaitFor:
|
1 year ago |
Nikolay Nikolov
|
1a714d688a
* fixed WasiRTLCreateEvent to actually return the result
|
1 year ago |
Nikolay Nikolov
|
cdba427bcf
+ added WASI multithreading helper for setting the stack pointer for the linear stack
|
2 years ago |
Michaël Van Canneyt
|
8c8f8088eb
* Seems not all was committed
|
2 years ago |
marcoonthegit
|
452ec93f06
* implement waitformultiple for win32 only.
|
2 years ago |
Nikolay Nikolov
|
e3139fea21
+ setup a thread manager (functions are still not yet implemented), when the WASI RTL is compiled with multithreading support
|
3 years ago |