Commit Graph

38 Commits

Author SHA1 Message Date
tom_at_work
c5f89d7efd * release old stack pointer register on ppc64 after method prolog
* threading fixes for ppc64
* fixed a_param_ref to respect the size parameter on ppc64
* better stack size calculation for ppc64

git-svn-id: trunk@1599 -
2005-10-26 19:50:17 +00:00
florian
a897adf6cc * try to unlock mutex before destroying it
git-svn-id: trunk@1186 -
2005-09-25 14:27:15 +00:00
michael
859bb30daa + Removed HASTHREADVAR SUPPORT_THREADVAR defines
git-svn-id: trunk@295 -
2005-06-09 17:40:29 +00:00
florian
84958dd3d9 * fixed compilation on x86-64
git-svn-id: trunk@291 -
2005-06-08 21:05:57 +00:00
michael
23ad0ae1ec + Removed HASINTF and VER1_0 defines
git-svn-id: trunk@239 -
2005-06-07 20:30:03 +00:00
Jonas Maebe
7ba46ce6f0 * Darwin TThreadID is a pointer
* BeginThread now returns a TThreadID instead of dword

git-svn-id: trunk@189 -
2005-06-04 09:33:39 +00:00
Jonas Maebe
f1a2ef1db2 * don't detach thread when finished, but pthread_exit it
(so it can be joined)

git-svn-id: trunk@184 -
2005-06-03 21:05:14 +00:00
Tomas Hajny
d035b0c0d3 * fix for range error on some platforms
git-svn-id: trunk@178 -
2005-06-03 04:52:24 +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
4aa4aeae79 + TThreadID 2005-04-13 20:10:50 +00:00
florian
90a26e0f7d * fixed some unix stuff 2005-04-09 18:45:43 +00:00
florian
710dbcef0a + classes.mainthreadid is set now
+ rtleventresetevent
  + rtleventwairfor with timeout
  + checksynchronize with timeout
  * race condition in synchronize fixed
2005-04-09 17:26:08 +00:00
florian
d18746bd15 * proper error message if the cthreads unit is included too late
uses clause
2005-04-03 19:29:28 +00:00
florian
6d75534cfb * final fix for linux (hopefully) 2005-02-25 22:10:27 +00:00
florian
98106e588c * another "transfer to linux"-commit 2005-02-25 22:02:46 +00:00
florian
69037eaef3 * "transfer to linux"-commit 2005-02-25 21:52:07 +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
e12796a400 * tthread patch from neli 2004-12-28 14:20:03 +00:00
marco
cb75ebda02 * checksynchronize now in interface win32 uses the default impl.
unix uses systhrds, rest empty implementation.
2004-12-27 15:28:40 +00:00
michael
0b667efe9b + Fixed tmt1 test bug 2004-12-23 20:20:30 +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
0db4315ea9 * rtlevent kraam. Checked (compile): Linux, FreeBSD, Darwin, Windows
Check work: ask Neli.
2004-12-22 21:29:24 +00:00
peter
64cd72bc5a * x86_64 updates 2004-12-12 14:30:27 +00:00
florian
8c85454cf9 + added system.align
+ threadvars are now aligned
2004-10-14 17:39:33 +00:00
Jonas Maebe
159912ec47 * fixed definition of pthread_mutex_t for non-linux targets (and for
linux as well, actually).
  * base libpthread definitions are now in ptypes.inc, included in unixtype
    They sometimes have an extra underscore in front of their name, in
    case they were also exported by the packages/base/pthreads unit, so
    they can keep their original name there
  * cthreadds unit now imports systuils, because it uses exceptions (it
    already did so before as well)
  * fixed many linux definitions of libpthread functions in pthrlinux.inc
    (integer -> cint etc)
  + added culonglong type to ctype.inc
2004-09-09 20:29:06 +00:00
marco
a84ad6c498 * basicevent, still untested. 2004-05-23 15:30:42 +00:00
peter
6bdcb0cdba * $ifdef debug code 2004-03-03 22:00:28 +00:00
florian
934fe41c45 * several 64 bit issues fixed 2004-02-22 16:48:39 +00:00
marco
6309672d16 * linklibs fixed for new pthread mechanism on FreeBSD 2004-02-15 16:33:32 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
Jonas Maebe
6ff7c9634a * Darwin does not have a lib_r, libc itself is already reentrant 2004-01-07 17:40:56 +00:00
daniel
fd86e14b01 * Use of 0 instead of nil fixed 2003-12-16 09:43:04 +00:00
michael
955d743f21 + Removed dummy variable from SetCthreadManager 2003-11-29 17:34:14 +00:00
michael
e85e5fa94f + Compiles on BSD too now 2003-11-27 20:24:53 +00:00
michael
515f170dd0 + Make works with 1.0.10 too 2003-11-27 20:16:59 +00:00
michael
4b2084fb50 + New threadmanager implementation 2003-11-26 20:10:59 +00:00