Commit History

Author SHA1 Message Date
  Jonas Maebe c2190ebd30 * return errors from unimplemented functions instead of random values 16 years ago
  Jonas Maebe b92df02778 * new Intbasicevent*() implementation based on pthread_cond_signal by 16 years ago
  Jonas Maebe 9e7efd7321 * reduced waiting steps in emulated "timed wait" in basiceventwaitfor 16 years ago
  florian c127154efa o Haiku patches by Olivier Coursiere 16 years ago
  Jonas Maebe 1a1fc1357d * honour the specified stack size when creating new threads on unix 16 years ago
  Jonas Maebe 4f5513466a * reverted r11671 because it breaks tthread.waitfor on unix 17 years ago
  michael c179162028 * Call EndThread manually if thread function returns (mantis #11490) 17 years ago
  Jonas Maebe 34d0fd2c30 * give generic IntbasiceventWaitFor a granularity of 50 rather than 18 years ago
  Jonas Maebe 2701a0f743 * initialise timespec.tv_sec again for generic BasicEventWaitFor 18 years ago
  micha 5f3e2b10e8 * use sem_timedwait for BasicEventWaitFor if available (linux now) 18 years ago
  micha 5d1a952f2a * fix initial state of basicevent 18 years ago
  Jonas Maebe 123362235b * use initc.fpgetCerrno rather than fpgeterrno to get the errno 18 years ago
  Jonas Maebe 4457538435 * explicitly unmask SIGSEGV, SIGILL, SIGBUS and SIGFPE at the start 18 years ago
  Jonas Maebe ce86cedd4d * return wrAbandoned rather than wrError from IntbasiceventWaitFor 18 years ago
  Jonas Maebe ef801ba3a3 * check once more whether we can lock after we've waited 18 years ago
  Jonas Maebe 494fb81dd8 * fixed semaphore implementation based on file handles (select needs 18 years ago
  Jonas Maebe fd98a0cc5b * don't call runerror if a unix threading error occurs (because this 18 years ago
  Jonas Maebe 4dd3be0e5a * return thread function result via pthread_exit() from CBeginThread 18 years ago
  Jonas Maebe 526a79a3c6 * disable thread suspension from another thread under *nix, see added 18 years ago
  Jonas Maebe 3ab9ace8c4 * implement CThreadSwitch using sched_yield() 18 years ago
  micha 7f2a257102 + heap manager now per thread, reduce heap lock contention 18 years ago
  micha 6ec55d2e74 * fix heap mutex deadlock in case of runtime error within heap management (needs recursive heap mutex) 18 years ago
  micha 702685717f * cleanup of rtlevents, remove startwait due to persistance guarantee 18 years ago
  Jonas Maebe bdfd3e5453 * patch from Lloyd B. Park to support persistent signals 18 years ago
  Jonas Maebe 0c3afc0cf4 + implementation of cSemaphore* and BasicRTLEvent based on 18 years ago
  michael 285e02ba83 * Fix to be able to allocate threadvars when code outside FPC creates a thread 18 years ago
  Jonas Maebe edafc80d8c * use pthread_kill() for Suspend/Resume in cthreads 19 years ago
  Jonas Maebe 4240479f5d * fixed datarace in CBeginThread 19 years ago
  daniel ce3bfabfe6 - Remove unused sysutils dependency. 19 years ago
  Almindor 2ee7e64a4a * adds semaphore support to ThreadManager, removes pipe hack from non linux 19 years ago