Commit Graph

33 Commits

Author SHA1 Message Date
Jonas Maebe
2ce042beb4 * fixed previous commit
git-svn-id: trunk@5281 -
2006-11-07 21:45:49 +00:00
Jonas Maebe
edafc80d8c * use pthread_kill() for Suspend/Resume in cthreads
git-svn-id: trunk@5280 -
2006-11-07 21:40:58 +00:00
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
peter
f5efca241a * fix 64bit
git-svn-id: trunk@4906 -
2006-10-14 16:03:02 +00:00
Almindor
f102f33426 * fix some gliches in inithreads
git-svn-id: trunk@4903 -
2006-10-14 12:47:42 +00:00
Almindor
ce2eb7246d * fix NPTL and non-NPTL (old hack-fix) on linux
git-svn-id: trunk@4902 -
2006-10-14 11:49:06 +00:00
Almindor
be67e9328f * remove pipe hack from linux tthread as well
git-svn-id: trunk@4901 -
2006-10-14 11:42:34 +00:00
tom_at_work
b3573feabb * fixed compilation on 64 bit platforms with DEBUG_MT enabled
git-svn-id: trunk@4223 -
2006-07-16 10:19:52 +00:00
florian
33baacbe04 * fixed leaking of TThread
git-svn-id: trunk@3519 -
2006-05-14 09:15:09 +00:00
marco
1318b959e0 * ffinish patch
git-svn-id: trunk@2141 -
2006-01-03 19:09:25 +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
375bc7bbb0 + TThread.WaitFor needs to call CheckSynchronize
git-svn-id: trunk@1661 -
2005-11-05 17:42:13 +00:00
tom_at_work
653f4b465d * fixed some typecasts of pointers to Longint for 64 bit architectures (Linux and generic parts of the RTL only)
* 64 bit sockets unit fixes

git-svn-id: trunk@1625 -
2005-11-01 22:40:23 +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
peter
6499d65c39 * fixed compilation with 2.0.x
git-svn-id: trunk@1223 -
2005-09-29 06:26:02 +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
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
41d400d247 * FreeOnTerminate handling fixed 2005-03-06 15:24:03 +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
peter
2fbaae2b91 * threading in system unit
* removed systhrds unit
2005-02-06 11:20:52 +00:00
marco
7377bbf1c9 * 2nd synchronize attempt. cthreads<->systhrds difference was not ok, but
only showed on make install should be fixed now.
2004-12-23 15:08:58 +00:00
marco
8019924d4f * first tthread.synchronize support (merged neli's patches) 2004-12-23 09:42:42 +00:00
peter
64cd72bc5a * x86_64 updates 2004-12-12 14:30:27 +00:00
peter
5acf1eff47 * remove cdecl 2004-03-03 22:00:37 +00:00
marco
872cfdd737 * Johill: suspend fix 2003-11-22 11:04:08 +00:00
peter
97d677c8c8 * tthread disabled for 1.0.x 2003-11-19 15:51:54 +00:00
marco
20bd2d0e06 * pthreads based ttread from Johannes Berg 2003-11-17 08:27:49 +00:00
marco
8f76f86ce5 * new oldlinux unit. 1_0 defines killed in some former FCL parts. 2003-11-10 16:54:28 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
peter
3d27318cb2 * moved classes unit to rtl 2003-10-06 21:01:06 +00:00