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

15 Коммитов

Автор SHA1 Сообщение Дата
Nishikant Deshmukh 3434cf0416
Add 64-bit APIs in interlocked_hl.h and sync.h (#413)
* Specs for interlocked and sync 64

* Specs for interlocked and sync 64 - Parth comments

* Mergeable specs

* Addressed Parth comments

* Address Dan's comments

* Implementation of 64 bit for interlocked_hl and sync

* Added missing LogErrors

* Added missing LogErrors and some Specs corrections

* Corrected comment indentations

* Addressed Dan's comments

* Addressed Jelan's comments
2024-11-18 20:10:04 -08:00
Nishikant Deshmukh 76da349891
Specs for interlocked and sync 64 (#411)
* Specs for interlocked and sync 64

* Specs for interlocked and sync 64 - Parth comments

* Mergeable specs

* Addressed Parth comments

* Address Dan's comments
2024-11-15 15:40:39 -08:00
Matt Durak 78b5281143
Add real_threadpool_thandle for convenience in UTs (#405)
* Add real_threadpool_thandle for convenience in UTs
2024-11-04 09:54:16 -08:00
Jelani Brandon 7501f78f6f
updating wait_on_address to return the timeout (#404)
Co-authored-by: Jelani Brandon <jebrando@microsoft.com>
2024-10-31 16:29:09 -07:00
anporumb 752bec6839
fixes for EBS repo and remove c_pal_interfacesmocks (#391)
* c_pal_umocktypes should link with c_pal_reals

* no need to build a mock library for c_pal_interface

* take out pal_ll_interfaces_mocks

* make call_once_ut compile

* better reals for async_socket

* added (void) to void functions

* add real socjket transport / socket for win32

* added reals for sokcet transport on linux

* async socket uses socket transport

* added real async socket for linux

* socket_transport has unbalanced } in C++ lands

* reals changes

* windows compiles now

* better but still doesn't compile on linux

* now it all compiles

* added stdint.h after CR
2024-10-18 11:41:44 -07:00
anporumb 99dc1e943e
linux reals shoud bring in the include for linux (#386)
* also have target_include_directories(pal_ll_win32 with common/inc

* linux_reals should bring in the interface of linux
2024-10-11 13:30:43 -07:00
anporumb cf83dc4ed7
use correct include path and no double reals (#385)
* use the correct include path

* propagate_all_repos anporumb/pchmock3

* no double include

* why CMAKE, WHY
2024-10-11 11:41:50 -07:00
anporumb 0fee3af5d5
add the smallest precompiled header and use it in 1x project. (#384)
* meek attempt to have a mocks library with precompiled header

* this creates by hand win32_ll_mocks and uses it in call_once_ut_exe_c_pal

* mock loibrary for c_pal_interfaces is build with a function

* propagate_all_repos anporumb/pchmock3

* itr also compiles but does NOT link on linux

* now it builds AND links on LINUX

* added a minimal explanation about exiting visual studio

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* threadpool uses terminate_process

* make pal_ll_interfaces appear in Visual Studio

* it needs to be prefixed with inc

* extraneous files are removed

* write library name with capital letters

* use also for #ifdef

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* propagate_all_repos anporumb/pchmock3

* use latest dependencies 10 Oct 2024

* remove C_PAL_INC_FOLDER

* make it compile with latest c-pal

* use latest dependencies 10 Oct 2024

* remove garbage from build folder

* use latest dependencies 10 Oct 2024

* propagate_all_repos anporumb/pchmock3

* use latest dependencies 10 Oct 2024

* use latest dependencies 10 Oct 2024
2024-10-11 10:26:22 -07:00
David Robson 47ee6cc488
Add real_thandle_helper.h and real_interlocked_undo_rename.h to c-pal… (#308)
* Add real_thandle_helper.h and real_interlocked_undo_rename.h to c-pal repo.
Add a document and unit test to show how to use.

---------

Co-authored-by: Matt Durak <mdurak@microsoft.com>
2024-03-01 18:02:41 +00:00
Matt Durak 52bdd21059
Add a macro for volatile int32_t plus enum union (#303) 2024-02-14 10:26:58 -08:00
Dan Cristoloveanu 073b5545e5
Switch to logging v2 (#249)
* logging_v2

* logging_v2

* logging_v2

* logging_v2

* logging_v2

* Latest deps

* Latest deps

* Minor updates

* Update with logging_v2 config APIs

* Add logerrno to logger.h

* Add one more v1 to v2 translation

* Fix some issues

* Use latest logging

* Fix IWYU

* Fix IWYU

* making call count a global variable to avoid helgrind bug

* Suppress printf issues in sm helgrind test

* Add suppression for printf with Helgrind

* Add suppression for printf with Helgrind

* Address CR comment

---------

Co-authored-by: Jelani Brandon <jebrando@microsoft.com>
2023-06-28 13:07:48 +05:30
Dan Cristoloveanu ed49c0f0a4
New deps + remove mutex (#227)
* Update dependencies

* Remove mutex

* Remove mutex

* New deps

* Update dependencies
2023-03-29 13:14:33 -07:00
anporumb b80a232af6
Anpo 03 14 2023 update deps (#224)
* use latest dependencies

* remove C11
2023-03-14 21:30:32 -07:00
Matt Durak 2d8b70274c
Remove WaitOnAddress log spam (#214) 2023-02-01 14:59:30 -08:00
Bingyi Yang 0c8ac64304
move sm and its dependencies from c-util to c-pal (#207)
* move sm and its dependencies from c-util to c-pal

* fix iwyu

* fix some compile errors

* fix some compile errors

* fix some compile errors

* fix some compile errors

* fix some compile errors

* fix some compile errors

* fix some compile errors

* fix some compile errors

* fix some compile errors

* move sync and interlock into a new lower level c-pal

* fix linux build error

* fix win cmake build error

* changes with comments

* fix linux build error

* merge
2023-01-29 00:07:45 -08:00