Commit Graph

130 Commits

Author SHA1 Message Date
Jonas Maebe
5074c4c734 * fixed typo
git-svn-id: trunk@5703 -
2006-12-25 10:01:24 +00:00
Jonas Maebe
a209d713dd + added missing ESysENOSYS
* fixed some comments

git-svn-id: trunk@5674 -
2006-12-22 08:41:56 +00:00
Jonas Maebe
0c3afc0cf4 + implementation of cSemaphore* and BasicRTLEvent based on
sem_open/sem_close for Darwin (doesn't have sem_init/sem_destroy)
  + implementation of cSemaphore* based on pipes (for potential future
    systems that don't have either sem* routines)
  + test for basicrtlevent
  * fixed datarace whereby a TThread could be started, run and exit before
    TThread.AfterConstructor had been called (Mantis 6693, all platforms)
  * throw EThread exceptions in TThread.create if something during creating
    the tthread goes wrong (*nix)
  * don't crash in TThread.Destroy if the TThread throws an exception before
    it was fully initialised (*nix)
  * changed order of operations in TThread.Destroy so it doesn't perform
    invalid thread operations in some edge cases (*nix)
  * fixed usage of sem_wait/sem_trywait (can be interrupted) in Semaphore
    and RTLEvent implementations
  * fixed erroneous waiting for threads after they had already exited via
    pthread_detach/pthread_exit
  * fixed several memory leaks in case of thread intialisation errors
    (*nix)
  * unified tthread.inc for all Unices

git-svn-id: trunk@5662 -
2006-12-21 18:22:47 +00:00
Jonas Maebe
5b9a51eaa8 * fixed extracting stack pointer and program counter from
signal context

git-svn-id: trunk@5650 -
2006-12-19 15:15:39 +00:00
Jonas Maebe
df03c25daf * fixed SIG_MAXSIG for FPC_USE_LIBC
git-svn-id: trunk@5649 -
2006-12-19 15:15:06 +00:00
tom_at_work
949aa60805 * DWARF debug lineinfo reader
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
micha
ea2beb3e8f * fix classes units of all targets to depend on fgl, also fix dependencies in Makefile.fpc for it
git-svn-id: trunk@5627 -
2006-12-17 17:37:34 +00:00
Jonas Maebe
e62b7ae4b1 * fixed solaris siginfo structure
git-svn-id: trunk@5621 -
2006-12-17 13:43:22 +00:00
Jonas Maebe
26adf7f98b - removed wrong BSDINC references
git-svn-id: trunk@5620 -
2006-12-17 13:27:55 +00:00
Almindor
50995f965c * fixes solaris and netbsd AF_ and PF_ defines
+ adds preliminary unxsockh.inc to openbsd

git-svn-id: trunk@5441 -
2006-11-22 11:09:32 +00:00
Jonas Maebe
04dda0a4e1 * fixed compilation (moved most pthread type definitions from pthread.inc
to ptypes.inc)

git-svn-id: trunk@5344 -
2006-11-12 21:02:45 +00:00
Jonas Maebe
f1f8d119f8 * pthread_t is an "unsigned int" on solaris
git-svn-id: trunk@5286 -
2006-11-08 12:55:22 +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
08a151077d * pthread_self returns a pthread_t, not a cint
git-svn-id: trunk@5275 -
2006-11-07 16:43:31 +00:00
florian
ce620190a3 + fmtbcd
* regenerated makefiles

git-svn-id: trunk@5076 -
2006-10-29 21:46:44 +00:00
michael
4ba6f1b4dc * Moved fpmkunit to utils
git-svn-id: trunk@5034 -
2006-10-27 19:51:55 +00:00
michael
d1c2323c9b * Added fpmktype
git-svn-id: trunk@5027 -
2006-10-26 19:55:22 +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
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
d4e1612fd1 * moves MSG_* constants from socketsh.inc to platform specific unxsockh.inc and fixes them for freebsd/darwin and solaris (linux ones were used before, not right)
git-svn-id: trunk@4646 -
2006-09-18 20:56:13 +00:00
Almindor
2d7cd5b969 * sockets cleanup from Aison
git-svn-id: trunk@4625 -
2006-09-16 10:40:32 +00:00
Károly Balogh
705033284e + regenerated makefiles to support powerpc-amiga target
git-svn-id: trunk@4371 -
2006-08-06 12:28:28 +00:00
Jonas Maebe
7522d8d967 * fixed sparc alignment issues with popen/pclose
git-svn-id: trunk@4346 -
2006-08-04 13:07:01 +00:00
florian
33baacbe04 * fixed leaking of TThread
git-svn-id: trunk@3519 -
2006-05-14 09:15:09 +00:00
peter
cba7504dec * use -P for cross compile
* support libimp*.a

git-svn-id: trunk@3321 -
2006-04-23 18:53:29 +00:00
florian
68a096aec6 * fixed AF_* constants
git-svn-id: trunk@3033 -
2006-03-25 15:22:58 +00:00
florian
a446c578ef * sys_errlist fixed
git-svn-id: trunk@3015 -
2006-03-22 21:10:56 +00:00
florian
c97598514a * some cleanup
git-svn-id: trunk@2993 -
2006-03-20 22:14:22 +00:00
florian
8d83343971 * pthread consts and types fixed
git-svn-id: trunk@2991 -
2006-03-20 21:16:22 +00:00
peter
323d6cf640 * use -O2 for 2.1.1 compilers
git-svn-id: trunk@2966 -
2006-03-19 11:19:43 +00:00
florian
bf0fc6cc15 * another dependency fixed
git-svn-id: trunk@2963 -
2006-03-19 09:52:36 +00:00
florian
879e2d795f * more dependencies fixed
* cthreads compilation fixed

git-svn-id: trunk@2962 -
2006-03-19 09:48:45 +00:00
florian
afe9539e3c * fixed more makefile stuff
git-svn-id: trunk@2960 -
2006-03-19 09:26:18 +00:00
florian
a2f4e33bda * fixed solaris compilation
git-svn-id: trunk@2955 -
2006-03-18 17:17:16 +00:00
florian
49c88c469c * fixed some units to compile
git-svn-id: trunk@2946 -
2006-03-17 21:03:34 +00:00
Jonas Maebe
f3ffa1400a * regenerated for new ppc release optimizer settings
git-svn-id: trunk@2943 -
2006-03-17 17:54:28 +00:00
florian
7fff4f4d57 * pthreads fixed, still a mess
git-svn-id: trunk@2893 -
2006-03-12 19:47:54 +00:00
florian
744c7a4acc * fixed gmake -j, reduces compilation time by 50 % if enough CPUs are available
git-svn-id: trunk@2887 -
2006-03-12 15:40:32 +00:00
florian
3cb662b1f2 * fixed RTLCriticalSection
git-svn-id: trunk@2886 -
2006-03-12 15:21:35 +00:00
florian
ae64fc524b * fixed mutex constants
git-svn-id: trunk@2883 -
2006-03-12 11:45:34 +00:00
florian
5671bf276c * fixed solaris signal handling
git-svn-id: trunk@2881 -
2006-03-12 09:54:02 +00:00
Jonas Maebe
f868c80460 + i386-darwin support (use fpcmake from after 12 February 2006)
git-svn-id: trunk@2820 -
2006-03-09 15:26:49 +00:00
marco
8d2dd005c7 * tms and iovec structures
git-svn-id: trunk@2755 -
2006-03-05 13:01:24 +00:00
mazen
aeb162e4e1 + added target arm-palmos (please use an fpcmake later than 04 feb 2006 in future)
git-svn-id: trunk@2603 -
2006-02-15 22:05:04 +00:00
peter
87b5e282d7 * missing FIO constants
git-svn-id: trunk@2561 -
2006-02-13 13:58:35 +00:00
peter
0cef678a92 * make solaris zipinstall working
* remove ezcgi.inc, use GetEnvironmentVariable from SysUtils

git-svn-id: trunk@2558 -
2006-02-13 09:15:11 +00:00
tom_at_work
a3295f379a * removed powerpc64/linux from SMARTLINKTARGETS. Takes way too much time without an internal binwriter.
* regenerated makefiles

git-svn-id: trunk@2546 -
2006-02-12 20:26:15 +00:00
florian
5e84d37b2d + flock implemented in pascal
git-svn-id: trunk@2499 -
2006-02-09 15:17:29 +00:00
peter
91ab7f151a * missing includes
git-svn-id: trunk@2491 -
2006-02-09 07:04:12 +00:00
florian
9005442652 * fixed some data types
git-svn-id: trunk@2489 -
2006-02-08 23:23:33 +00:00
peter
513cbb1c6e * Make RTL compilable
git-svn-id: trunk@2476 -
2006-02-08 08:56:16 +00:00
florian
fd0f51c463 * map bus error to runerror 214
git-svn-id: trunk@2474 -
2006-02-07 21:43:39 +00:00
florian
fe2b798378 * made a lot of Solaris rtl stuff compilable
git-svn-id: trunk@2471 -
2006-02-07 20:17:44 +00:00
florian
6a03189443 * fixed hello world on sparc/solaris
git-svn-id: trunk@2462 -
2006-02-06 21:45:56 +00:00
florian
b9a0e2ead2 * makefile again regenerated
git-svn-id: trunk@2280 -
2006-01-13 20:32:53 +00:00
florian
40290348bc * Makefiles regenerated
git-svn-id: trunk@2279 -
2006-01-13 19:49:25 +00:00
florian
30fc11e7ca * makefiles regenerated
git-svn-id: trunk@2260 -
2006-01-11 21:46:28 +00:00
marco
f7f14e4dee * CROSSOPT support
git-svn-id: trunk@1798 -
2005-11-20 22:19:50 +00:00
tom_at_work
1b4b42fdd6 * added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
peter
bb70f2f5cc * add fppkg and fpmkunit to the Makefile.fpc
git-svn-id: trunk@1063 -
2005-09-08 06:50:52 +00:00
florian
8602390d46 * Makefiles regenerated to propagate -Ur change of fpcmake
git-svn-id: trunk@844 -
2005-08-10 21:55:57 +00:00
michael
21425e303c + Removed HASVARIANT define
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
8a226bba52 + Removed HASWIDESTRING/HASWIDECHAR defines
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
michael
aea4d56d46 + Reversed setup of stdio and arguments to fix bug #3962
git-svn-id: trunk@114 -
2005-05-25 21:47:52 +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
peter
6cf4eb98c3 * use current fpcmake instead of from 1.9.8 2005-05-05 13:28:47 +00:00
peter
7dadd64723 * 2.0.0 2005-05-05 12:59:59 +00:00
Tomas Hajny
4c3c44293d * one more correction for dependencies of variants 2005-04-23 14:14:22 +00:00
florian
4aa4aeae79 + TThreadID 2005-04-13 20:10:50 +00:00
peter
aa5b73f3ec * 1.9.8 2005-02-15 22:28:29 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
f4011dabba * solaris updates 2005-02-14 16:32:41 +00:00
peter
852c88686f * new files 2005-02-13 22:14:36 +00:00
peter
b89a03b903 * get solaris back in shape 2005-02-13 22:13:20 +00:00
peter
4534feb917 * include file cleanup part 2 2005-02-13 21:47:56 +00:00
peter
ae8b7b153b * include file cleanup 2005-02-13 20:01:37 +00:00
peter
a6c95078dc * renamed to solaris 2005-02-10 17:30:54 +00:00