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