Jonas Maebe
|
bfc1a6ff1c
+ added support for intialising/finalising threads not started via the FPC
|
15 years ago |
marco
|
8cce3d3f91
* closethread thread manager field/function. Mantis 13160
|
15 years ago |
Jonas Maebe
|
4d8f578e4c
* when typecasting the result of pthread_self, always call it using
|
15 years ago |
marco
|
c477df5046
* TCriticalSection.Tryenter support (Mantis 15928) + short test/demo
|
15 years ago |
Jonas Maebe
|
9cd0a2ff1e
* link to libpthread at compile time on Linux to avoid problems on some
|
15 years ago |
pierre
|
048b2ba67b
* fix pthread problem wen using nice for solaris
|
15 years ago |
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 |