Daan
|
251d40945b
|
Merge branch 'dev' into dev3
|
2025-05-13 16:22:31 -07:00 |
|
Daan
|
0ae310327f
|
fix debug assertion for windows TLS
|
2025-05-13 16:22:08 -07:00 |
|
Daan
|
21378d6d8a
|
merge from dev
|
2025-05-13 16:13:34 -07:00 |
|
daanx
|
c84d996e88
|
fix TLS initialization for MI_WIN_USE_FIXED_TLS with redirection
|
2025-05-05 10:23:52 -07:00 |
|
Daan
|
1aa832873b
|
Merge branch 'dev' into dev3
|
2025-05-04 22:19:46 -07:00 |
|
daanx
|
303b196d40
|
fix MI_WIN_USE_FIXED_TLS conditions
|
2025-05-04 22:09:56 -07:00 |
|
daanx
|
52b75693c4
|
use TlsAlloc with a dynamic offset for MI_WIN_USE_FIXED_TLS by default (issue #1078)
|
2025-05-04 22:03:10 -07:00 |
|
daanx
|
90da648b08
|
merge from dev
|
2025-05-02 16:28:57 -07:00 |
|
daanx
|
f3e92b1edd
|
Use second user TLS slot to avoid using reserved fields in the TEB (issue #1078)
|
2025-05-02 16:12:20 -07:00 |
|
Daan Leijen
|
ccc65d2fd9
|
fix msvc compilation in C mode
|
2025-03-10 12:37:42 -07:00 |
|
daanx
|
d9439a7e39
|
merge from dev
|
2025-02-11 14:47:20 -08:00 |
|
daanx
|
ece1defe5b
|
parameter of clz/ctz is size_t
|
2025-02-11 14:35:21 -08:00 |
|
daanx
|
f905c14f09
|
Merge branch 'dev' into dev3
|
2025-02-11 09:22:37 -08:00 |
|
daanx
|
d3897635ad
|
fix compilation warning
|
2025-02-11 09:22:31 -08:00 |
|
daanx
|
02b97b6891
|
merge from dev
|
2025-02-11 09:21:48 -08:00 |
|
daanx
|
0c8069adab
|
use physical memory in kib to avoid overflow of size_t (issue #1010)
|
2025-02-11 09:18:23 -08:00 |
|
daanx
|
ec4aa62b65
|
use physical memory in kib to avoid overflow of size_t (issue #1010)
|
2025-02-11 09:12:29 -08:00 |
|
daanx
|
4d1b0f0dbb
|
Merge branch 'dev' into dev3
|
2025-02-08 12:52:15 -08:00 |
|
Daan Leijen
|
5f9b42685e
|
remove declspec(dllexport) from DllMain on Windows (issue #1008)
|
2025-02-08 12:51:06 -08:00 |
|
Daan Leijen
|
c7f7c23dc1
|
make C compatible
|
2025-02-08 12:43:00 -08:00 |
|
Sergey Markelov
|
9053cf0cd2
|
prim: fix dev3 UWP build (#1005)
|
2025-02-07 12:35:59 -07:00 |
|
Daan
|
3a4ef00960
|
Merge branch 'dev' into dev3
|
2025-01-31 10:38:55 -08:00 |
|
Daan
|
90b7a694eb
|
syntax error fix (#992)
|
2025-01-22 12:29:41 -08:00 |
|
Daan
|
5e71dfc336
|
check dynamically for getPhysicallyInstalledSystemMemory on windows (issue #992)
|
2025-01-22 12:03:58 -08:00 |
|
Daan
|
7b8a710774
|
windows on arm threadpool detect
|
2025-01-16 14:00:42 -08:00 |
|
daanx
|
3fd47e7541
|
merge from dev
|
2025-01-10 10:52:14 -08:00 |
|
daanx
|
4fcf56af2e
|
use consistent naming on Windows vs other platforms. Use mimalloc.dll.lib for the dll import library to avoid a clash with the static mimalloc.lib library
|
2025-01-09 20:57:08 -08:00 |
|
daanx
|
d7c273e5cd
|
merge from dev
|
2025-01-06 12:11:06 -08:00 |
|
Daan Leijen
|
5764845c4d
|
fix build on msvc in C compilation; fix build with clang-cl on Windows
|
2025-01-06 10:27:46 -08:00 |
|
Daan Leijen
|
9665d604d3
|
merge from dev
|
2024-12-31 14:28:09 -08:00 |
|
Daan
|
f33aa58d88
|
Merge branch 'dev' into dev
|
2024-12-30 12:27:46 -08:00 |
|
daanx
|
bec06cfb95
|
merge from dev
|
2024-12-26 10:15:08 -08:00 |
|
daanx
|
47b5f48b29
|
renamed vcxproj
|
2024-12-26 10:08:19 -08:00 |
|
daanx
|
2084df3dde
|
add dedicated meta data allocation for threads and tld
|
2024-12-08 12:20:54 -08:00 |
|
daanx
|
c33de86da3
|
check for running in a threadpool to disable page reclaim
|
2024-12-07 17:11:11 -08:00 |
|
daanx
|
9d904e8643
|
wip: bug fixes
|
2024-11-30 10:39:30 -08:00 |
|
daanx
|
68f5fb2f4b
|
wip: further progress on segment removal; arena allocation
|
2024-11-29 15:08:06 -08:00 |
|
daanx
|
0e76fe3798
|
add address hint to primitive allocation API
|
2024-11-16 16:57:37 -08:00 |
|
daanx
|
b27d154ffd
|
add virtual address bits and physical memory to the mem config
|
2024-11-16 15:37:08 -08:00 |
|
Daan
|
925efaeac9
|
improve windows static library initialization to account for thread local destructors (issue #944)
|
2024-10-23 01:10:00 -07:00 |
|
Daan
|
dfdb9cb877
|
cleanup process init/done
|
2024-10-22 06:52:34 -07:00 |
|
Daan
|
46e9e7fdd0
|
fix win32 compilation
|
2024-10-22 06:06:15 -07:00 |
|
Daan
|
e55ae0aeb7
|
fix duplicate definition on windows
|
2024-10-21 23:09:14 -07:00 |
|
Daan
|
f971bd6d74
|
fix build on windows
|
2024-10-21 23:05:51 -07:00 |
|
Daan
|
aa881733d7
|
reorganize primitives for process initialization; use special data segment on Windows for thread termination by default on Windows now (issue #869)
|
2024-10-21 22:56:59 -07:00 |
|
QuarticCat
|
632421da3a
|
fix typos
|
2024-06-19 10:49:03 +08:00 |
|
Daan Leijen
|
f93fb900b7
|
move lock code to atomic.h
|
2024-06-01 17:25:45 -07:00 |
|
Daan Leijen
|
0b3cd51249
|
add initial primitive api for locks
|
2024-06-01 16:45:20 -07:00 |
|
daanx
|
1b21415dfa
|
make retry on oom an option; revise size options to not overflow the long
|
2024-05-18 09:56:02 -07:00 |
|
daanx
|
e58fa376d4
|
on windows, retry virtual alloc if out-of-memory, see issue #894
|
2024-05-17 13:19:37 -07:00 |
|