fpc/rtl/darwin
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
..
i386 * return RTE 207 for fpu inexact exceptions (so we get a sensible 2006-11-01 00:08:10 +00:00
powerpc * return RTE 207 for fpu inexact exceptions (so we get a sensible 2006-11-01 00:08:10 +00:00
console.pp * Fixes for some $LOG$ removal snafu's 2005-05-21 23:15:32 +00:00
errno.inc * cwstring fixed and activated for Darwin 2005-06-14 18:30:05 +00:00
errnostr.inc * added missing "," 2006-01-08 08:21:15 +00:00
Makefile * DWARF debug lineinfo reader 2006-12-17 23:11:25 +00:00
Makefile.fpc * DWARF debug lineinfo reader 2006-12-17 23:11:25 +00:00
pmutext.inc * use definition of pthread_mutex_t from ptypes.h instead of 2005-06-03 21:07:04 +00:00
pthread.inc + implementation of cSemaphore* and BasicRTLEvent based on 2006-12-21 18:22:47 +00:00
ptypes.inc * added resource consts and types 2005-11-14 11:31:28 +00:00
signal.inc * updated fpu exception causes 2006-07-14 14:40:34 +00:00
sysctlh.inc * remove $Log 2005-06-07 09:47:55 +00:00
termio.pp * inlined few procs. Didn't inline makeraw since that triggers inline WITH bug. 2005-09-28 20:59:20 +00:00
termios.inc + added a number of constants from /usr/include/sys/iocomm.h and filio.h 2005-12-08 12:18:57 +00:00
termiosproc.inc * fixed range error 2006-02-20 10:20:58 +00:00
unxconst.inc * remove $Log 2005-06-07 09:47:55 +00:00
unxfunc.inc * remove $Log 2005-06-07 09:47:55 +00:00
unxsockh.inc * adds PF_ to darwin 2006-11-22 19:13:59 +00:00