Update thread_pool.d
This commit is contained in:
parent
84a5cbef13
commit
55bd698541
1 changed files with 5 additions and 3 deletions
8
demos/external/sources/mmutils/thread_pool.d
vendored
8
demos/external/sources/mmutils/thread_pool.d
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
module mmutils.thread_pool;
|
module mmutils.thread_pool;
|
||||||
|
|
||||||
import std.algorithm : map;
|
import std.algorithm : map;
|
||||||
|
|
||||||
|
|
@ -9,7 +9,9 @@ version (WebAssembly)
|
||||||
{
|
{
|
||||||
version = MM_NO_LOGS;
|
version = MM_NO_LOGS;
|
||||||
version = MM_USE_POSIX_THREADS;
|
version = MM_USE_POSIX_THREADS;
|
||||||
struct FILE;
|
extern(C) struct FILE
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -1825,4 +1827,4 @@ else
|
||||||
// -fsanitize=address
|
// -fsanitize=address
|
||||||
// rdmd -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
|
// rdmd -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
|
||||||
// ldmd2 -release -inline -checkaction=C -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
|
// ldmd2 -release -inline -checkaction=C -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
|
||||||
// ldmd2 -checkaction=C -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
|
// ldmd2 -checkaction=C -g -of=thread_pool src/mmutils/thread_pool.d && ./thread_pool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue