ondrej
|
c64429cdd0
* lazy thread initialization support
|
4 years ago |
svenbarth
|
73026618c8
* protect against empty strings inside the SetThreadDebugNameA and -U functions
|
5 years ago |
svenbarth
|
68d743a83e
* fix for Mantis #36941: apply (adjusted) patch by Bi0T1N to implement SetThreadDebugNameA and -U for Windows, with the exception of Windows CE
|
5 years ago |
svenbarth
|
c8b7094378
* fix for Mantis #36940: apply (adjusted) patch by Bi0T1N to add functionality to the thread manager to set a thread's debug name (if supported by the platform)
|
5 years ago |
svenbarth
|
e131a4e014
* nicely align assignment of TThreadManager.CloseThread
|
5 years ago |
marco
|
98b1d2b975
* use wingetprocaddress instead of getprocaddress in code under SUPPORT_WIN95.
|
5 years ago |
florian
|
bb8b8f2eae
* do not set IsMultithread on windows, if no second thread is started, resolves #30535
|
8 years ago |
svenbarth
|
f8b458106e
* fix for Mantis #30747: for anonymous events CreateEvent() needs to be called with a Nil parameter for the name, not an empty string
|
8 years ago |
svenbarth
|
535621faaa
Rename FPC_HAS_INDIRECT_MAIN_INFORMATION to FPC_HAS_INDIRECT_ENTRY_INFORMATION which is more logical considering the record's name
|
9 years ago |
svenbarth
|
6afda909d4
Rework TlsKey handling on Windows so that it works as intended with indirect main information
|
9 years ago |
sergei
|
83deae45b8
* First part of 64-bit Windows fixes from Mantis #23074.
|
11 years ago |
sergei
|
179586f589
+ SEH support for Win32. Enable by cycling with OPT=-dTEST_WIN32_SEH.
|
11 years ago |
sergei
|
6788fd6433
+ Win64 SEH: install a top-level exception handler around thread functions. This was a missing puzzle piece of SEH support. Now behavior of unhandled exceptions in non-main threads is consistent with that of main thread, and, in general, behavior of SEH-enabled RTL is consistent with one without SEH.
|
12 years ago |
sergei
|
7969fb4ee1
- Removed TlsSize variable, it duplicates threadvarblocksize.
|
12 years ago |
pierre
|
f80bc70707
+ Add _FPC_TlsSize public symbol for use by heaptrc unit
|
13 years ago |
pierre
|
4a9c8e330b
+ Move EXEC_callback into separate file win/systlsdir.inc
|
13 years ago |
sergei
|
ef48f93d85
* win/systhrd.inc: modified ThreadMain so it initializes RTL if not already done, allowing TLS callbacks to be optional.
|
14 years ago |
sergei
|
5c3aca5148
* thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars)
|
14 years ago |
sergei
|
02a5efc619
* win/systhrd.inc, clean up:
|
14 years ago |
sergei
|
138c2b6b0a
* Hacking TLS callbacks into proper shape:
|
14 years ago |
pierre
|
1339c66ec9
* SysAllocateThreadVars: Make sure the data slot is only allocated once
|
14 years ago |
pierre
|
0fabda01a8
* Added code to support Windows 95 again
|
14 years ago |
michael
|
cc0be1be4d
* Completely initialize threadvars when an external thread is detected. Needs still cleanup code (or a better thread initialization/finalization).
|
14 years ago |
florian
|
27ff441975
o patch from Sven Barth:
|
14 years ago |
marco
|
8cce3d3f91
* closethread thread manager field/function. Mantis 13160
|
15 years ago |
marco
|
c477df5046
* TCriticalSection.Tryenter support (Mantis 15928) + short test/demo
|
15 years ago |
florian
|
e6648da567
* make heaptrc aware of the fact that multi threading could be initialized before heaptrc itself is initialized, this is currently the case for windows dlls
|
15 years ago |
florian
|
fb07fe5856
* always assume a multithreaded application when using threadvars in dlls, resolves #14992
|
15 years ago |
michael
|
12fcb19bf4
* Added comment in SysRelocateThreadVar, not working in Windows Vista
|
16 years ago |
florian
|
2f8e263560
* allow only one thread at a time to attach on a dll so the tls slot is allocated properly, resolves #12987
|
16 years ago |