diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-19 18:01:36 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-20 21:31:43 +0100 |
commit | 573edd37603ddf5d0137224a22fa2ec4915388fe (patch) | |
tree | 477767c43d1dde6717f610a41a674b56d5c2a0b8 /win32 | |
parent | ae955d3a183337a4770d39640a21da146cf97bc7 (diff) | |
download | perl-573edd37603ddf5d0137224a22fa2ec4915388fe.tar.gz |
Remove the final remnants of 5005threads support
Only THREAD_RET_TYPE is still used.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32thread.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/win32/win32thread.h b/win32/win32thread.h index 9af3aa3ea2..9ac964ccf4 100644 --- a/win32/win32thread.h +++ b/win32/win32thread.h @@ -104,9 +104,6 @@ typedef HANDLE perl_mutex; } STMT_END -#define THREAD_CREATE(t, f) Perl_thread_create(t, f) -#define THREAD_POST_CREATE(t) NOOP - /* XXX Docs mention that the RTL versions of thread creation routines * should be used, but that advice only seems applicable when the RTL * is not in a DLL. RTL DLLs seem to do all of the init/deinit required @@ -124,15 +121,12 @@ typedef HANDLE perl_mutex; # include <process.h> # if defined (_MSC_VER) # define THREAD_RET_TYPE unsigned __stdcall -# define THREAD_RET_CAST(p) ((unsigned)(p)) # else /* CRTDLL.DLL doesn't allow a return value from thread function! */ # define THREAD_RET_TYPE void __cdecl -# define THREAD_RET_CAST(p) ((void)(thr->i.retv = (void *)(p))) # endif #else /* !USE_RTL_THREAD_API */ # define THREAD_RET_TYPE DWORD WINAPI -# define THREAD_RET_CAST(p) ((DWORD)(p)) #endif /* !USE_RTL_THREAD_API */ typedef THREAD_RET_TYPE thread_func_t(void *); |