Some work on pthreads:

* Made the pthread_cond_t internals public. This is necessary to support
  process shared condition variables. Fixed initializer macro.
* Made the pthread_rwlockattr_t structure opaque.
* pthread_t is no longer typedef'ed to int. It's the pointer to the
  internal _pthread_thread structure.
* Removed __get_pthread(). pthread_self() can be used instead.
* No longer tunnel the pthread exit value through Haiku's thread exit
  value. We do have a separate field in the _pthread_thread structure
  for it, now.
* Handle detaching of threads correctly.
* pthread_rwlockattr_{g,s}etpshared() use the
  PTHREAD_PROCESS_{SHARED,PRIVATE} constants, now.
* Commented out yet unsupported structures (barriers, spinlocks).
* Rebuilt APR optional package. The pthread changes weren't binary
  compatible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25582 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-05-20 20:43:28 +00:00
parent c940faf16a
commit a8af2b6dda
9 changed files with 143 additions and 134 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ if [ IsOptionalHaikuImagePackageAdded APR ] {
Echo "No optional package APR available for gcc4" ;
} else {
local baseURL = http://haiku-files.org/files/optional-packages ;
InstallOptionalHaikuImagePackage apr-0.9.17-gcc2-2008-05-13
: $(baseURL)/apr-0.9.17-gcc2-2008-05-13.zip
InstallOptionalHaikuImagePackage apr-0.9.17-gcc2-2008-05-20
: $(baseURL)/apr-0.9.17-gcc2-2008-05-20.zip
:
;
}