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 |
micha
|
d704af7216
fix compilation for {$T+} linux/win
|
19 years ago |
micha
|
d0e0ef3d8c
2.0.4: pthread_cond_timedwait needs absolute time (from crossbuilder, issue #7196)
|
19 years ago |
tom_at_work
|
c5f89d7efd
* release old stack pointer register on ppc64 after method prolog
|
20 years ago |
florian
|
a897adf6cc
* try to unlock mutex before destroying it
|
20 years ago |
michael
|
859bb30daa
+ Removed HASTHREADVAR SUPPORT_THREADVAR defines
|
20 years ago |
florian
|
84958dd3d9
* fixed compilation on x86-64
|
20 years ago |
michael
|
23ad0ae1ec
+ Removed HASINTF and VER1_0 defines
|
20 years ago |
Jonas Maebe
|
7ba46ce6f0
* Darwin TThreadID is a pointer
|
20 years ago |