Jonas Maebe
f8b013187c
* fixed semaphore init, caused endless loop when terminating any
...
thread
git-svn-id: trunk@4925 -
2006-10-15 14:46:36 +00:00
Almindor
f102f33426
* fix some gliches in inithreads
...
git-svn-id: trunk@4903 -
2006-10-14 12:47:42 +00:00
Almindor
2ee7e64a4a
* adds semaphore support to ThreadManager, removes pipe hack from non linux
...
+ adds SemaphoreInit, SemaphorePost, SemaphoreWait and SemaphoreDestroy to TM
git-svn-id: trunk@4900 -
2006-10-14 11:39:47 +00:00
Almindor
0ce5904349
* cleans up linux leftovers in other BSD targets
...
git-svn-id: trunk@4844 -
2006-10-09 19:47:06 +00:00
florian
33baacbe04
* fixed leaking of TThread
...
git-svn-id: trunk@3519 -
2006-05-14 09:15:09 +00:00
Jonas Maebe
f92f8501ff
* applied r2098 change regarding threads destroying themselves to
...
the other bsd variants
git-svn-id: trunk@2158 -
2006-01-04 13:31:50 +00:00
tom_at_work
367df58016
* stack related things (sizes, calculations, etc.) are now 64 bit on 64 bit platforms
...
* default stack size is now also 32k for Windows (allows the use of stack checking when using threads)
git-svn-id: trunk@1718 -
2005-11-10 17:06:25 +00:00
florian
7bff61ce29
* patch from Ales Katona to add a stack size parameter to tthread functions
...
git-svn-id: trunk@1621 -
2005-11-01 22:01:48 +00:00
Jonas Maebe
f5083e8dfa
* fixed FreeOnTerminate (was already fixed in Linux version)
...
* handle interrupted reads from the semaphore pipe in Darwin (should be
applied to *BSD and Linux as well)
+ lots of extra debugging code in Darwin tthread.inc if DEBUG_MT defined
git-svn-id: trunk@1416 -
2005-10-16 13:59:19 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254
+ Removed VER1_0 defines
...
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Jonas Maebe
92a2ba07ad
* fixed web bug #3387 : if one called resume right after creating a
...
suspended thread, it was possible that resume was executed before
that thread had completed its initialisation in BeginThread ->
FInitialSuspended was set to false in resume and nevertheless a
semafore was posted
* second problem fixed: set FSuspended to false before waking up the
thread, so that it doesn't get FSuspended = true right after waking
up. This should be done atomically to be completely correct though.
2005-03-01 20:38:49 +00:00
florian
44b332f82a
* generic tthread.synchronize
...
* delphi compatible wakemainthread
2005-02-25 21:41:09 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
marco
d3e862638f
* a new qod port of the freebsd rtl. To be refined in the coming days.
2004-01-04 01:11:28 +00:00
peter
3d27318cb2
* moved classes unit to rtl
2003-10-06 21:01:06 +00:00