pthread-win32
pthread-win32 copied to clipboard
clone of pthread-win32 (a.k.a. pthreads4w) + local tweaks (including MSVC2008 - MSVC2022 project files)
As the title, the problem is solved by adding the file to the source dir. But the result seems to be odd. The size of pthread_dll.dll is 59KB and the...
Hello My Visual Studio 2017 can't find the autostatic.c file. Can you please enlighten me what is wrong ? Best regards, Jan
I'm not sure if this is a bug in the VS2015 project file or if there's been a typo for [6 years in sched.h](https://github.com/GerHobbelt/pthread-win32/blame/b944fa9e6c532a60c147c6a0f01a50e534fc1404/sched.h#L47), but the following fixes the build...
Hi @GerHobbelt, Would you be able to help me with something. I want to change pthreads.h pthread_t from a struct to a uintptr_t As gcc assumes a scalar value for...
Hello Ger, I get the following in VS2019: sched_setscheduler.c(65,60): warning C4244: 'function': conversion from 'pid_t' to 'DWORD', possible loss of data sched_getscheduler.c(63,62): warning C4244: 'function': conversion from 'pid_t' to 'DWORD',...
This pull request proposes an improvement to the `get_target_arch` function in `pthread-win32` to enhance compatibility across different platforms, including Linux. The new implementation replaces the use of `try_run` with direct...
- compiles without issues `tcc @build_dll.tcc` or `tcc @build_obj.tcc` - update _ptw32.h, config.h, pthread_kill.c and pthread_win32_attach_detach_np.c
`typedef struct pthread_mutex_t_ * pthread_mutex_t;` This results in a difference from the standard pthread usage.