Граф коммитов

441 Коммитов

Автор SHA1 Сообщение Дата
Dan Cristoloveanu 0bf53cc2fd Modify wait_on_address to have a value rather than address. It helps with enum usage 2020-10-16 12:38:18 -07:00
Dan Cristoloveanu a9eed9c2cf Avoid collision when building on Linux: timer_create already exists ... 2020-10-13 17:13:04 -07:00
Dan Cristoloveanu ada6c0482a Remove interlocked_hl 2020-10-07 09:30:02 -07:00
Dan Cristoloveanu 4542ac5476 Address CR comments for interlocked_hl using sync APIs 2020-10-06 20:09:12 -07:00
Dan Cristoloveanu 3360181744 Use sync APIs in interlocked_hl 2020-10-06 20:09:12 -07:00
Dan Cristoloveanu ea700ef440 Remove unused ThreadAPI_Exit 2020-10-05 21:45:58 -07:00
Dan Cristoloveanu 1f3187059e Address CR comments 2020-10-05 20:55:04 -07:00
Dan Cristoloveanu 898cc5a84b Make threadpool int tests not use interlocked_hl 2020-10-05 20:55:04 -07:00
Dan Cristoloveanu e5d6a0d4ee Use interlocked.h for interlocked operations in interlocked_hl.h 2020-10-05 20:55:04 -07:00
anporumb b23571c586
use latest deps (#40) 2020-10-05 17:35:39 -07:00
anporumb 23d8817932
prepare for zc preprocessor (#38)
* prepare for zc_preprocessor

* threadapiexit is noreturn

* fix TAB to spaces and use latest repos

* some more changes to CMakeLists.txt

* move to our pool and VS 2019

* exit from threads with return, no ThreadApi_return

* it is not prepared to run with valgrind

* try to previous traceability that apparently worked mysteriously

* more traceability

* have the exlusion dir filly specified
2020-09-29 22:41:40 -07:00
Dan Cristoloveanu 9ac129ca75 Use 1.6.4 of mimalloc 2020-08-31 12:03:48 -07:00
anporumb 911ae04e20
update gballoc_hl_perf with latest (and since removed) from block_storage (#36) 2020-08-31 11:11:20 -07:00
Dan Cristoloveanu fbda166ffb Fix warning disables for jemalloc 2020-08-19 18:18:44 -07:00
Dan Cristoloveanu a21ad9be38 Snap to version 5.2.1 of jemalloc 2020-08-19 18:18:44 -07:00
Dan Cristoloveanu 959f5a2257 One more warning disabled for jemalloc 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu a80711d687 One more warning 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 7b671326ec One more warning disabled for jemalloc 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu be55ebe8ca Disable warning 4204 for jemalloc 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 6e5f740ee2 Build jemalloc only for Windows ... for now 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 3683dd1efa Add int test for gballoc_ll_jemalloc 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 8128ef67fa Add unittests for gballoc_ll_jemalloc 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 85db3bdfe8 Make it build with unit tests 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 0d61b3e234 Made it build 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 1bd037b694 Add jemalloc 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu b16bec8898 Fix jemalloc cmakelists 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu be99096939 Add jemalloc_build folder 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu 18ebbf9329 Add jemalloc as dependency 2020-08-18 10:37:35 -07:00
Dan Cristoloveanu fa2a24abb2 Minor spec fix 2020-08-14 23:56:48 -07:00
Dan Cristoloveanu 87f82d3811 Switch to 2 macros: one with default malloc/free and one with custom malloc/free 2020-08-14 23:56:48 -07:00
Dan Cristoloveanu e388bf105a ref count type define supporting malloc/free being specified 2020-08-14 23:56:48 -07:00
anporumb e4fcca3d79
use the right mimalloc targe (#32) 2020-08-08 12:49:43 -07:00
anporumb 667da67912
gballoc hl metrics uses lazy init (#31)
* hl_metrics uses lazy_init
2020-08-07 10:40:48 -07:00
anporumb 905e820bc1
gballoc hl passthrough uses lazy init (#30)
* gballoc_hl uses lazy_init

* fix reals

* gballoc_hl_passthrough patch for linux
2020-08-06 16:56:20 -07:00
anporumb 140c7d3755
gballoc_win32heap use lazy init (#29)
win32heap ll impl
2020-08-06 13:44:12 -07:00
anporumb 5f7404b8d9
have call once/lazy_init/SetAndWakeAll (#28)
* have interlockedhl_setandwakeall and call_once

* have lazy_init

*have sync_real
2020-08-06 07:15:02 -07:00
anporumb 97ef26bac3
remove lock and add gballoc init deinit to all tests (#26)
* added gballoc_init/deinit and removed Lock
2020-07-31 17:10:59 -07:00
anporumb ff544b2ff4
make interlocked look like the others (#25) 2020-07-30 16:47:20 -07:00
anporumb ed802bec24
gballoc and strings exist for linux (#24) 2020-07-30 16:09:37 -07:00
anporumb e49942231b
propagate gballoc_hl (#21)
removed gballoc.h and uses gballoc_hl/ll from now on
string utils is in a better shape mocking wise.
2020-07-30 10:06:16 -07:00
Dan Cristoloveanu 37413ccfbe Minor real updates 2020-07-29 12:07:56 -07:00
Dan Cristoloveanu ae0c28f10d Address the rest of the comments 2020-07-28 20:07:09 -07:00
Dan Cristoloveanu 7700d3dc62 Addressed most of the review comments 2020-07-28 20:07:09 -07:00
Dan Cristoloveanu 9c030dd29e Add TryAcquire for srw_lock 2020-07-28 20:07:09 -07:00
anporumb 313494bb55
do not show pal md (#19)
* do not show pal md
2020-07-28 09:31:58 -07:00
anporumb 2728759946
timer does not use gballoc (vanilla) or gballoc_hl (#18)
* timer does not use gballoc (vanilla) or gballoc_hl
2020-07-27 08:59:01 -07:00
anporumb 902c64c069
Anpo refcount now uses interlocked (#16)
* refcount now uses interlocked instead of own mechanism
2020-07-24 10:58:12 -07:00
anporumb 95f9219ba2
use latest logging and fix 1 loglasterror (#15)
use latest c logging and fix 1 bug related to LogLastError
2020-07-23 14:37:21 -07:00
anporumb 921d787466
have hl with metrics (#14)
have gballoc_hl with metrics
2020-07-23 12:59:39 -07:00
anporumb 9f2c4fdae1
have gballoc hl passthrough (#12)
* have gballoc_hl_passthrough
2020-07-21 20:35:11 -07:00