Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
142 user(s) are online (99 user(s) are browsing Forums)

Members: 0
Guests: 142

more...

Headlines

 
  Register To Post  

Does Amiga OS 4.x have a pthreads rwlock implementation?
Home away from home
Home away from home


See User information
I'm using POSIX threads rwlocks in a non Amiga OS project. Since I'm interested in eventually having it running on Amiga OS 4.x too I had a look at pthread.h for Amiga OS 4.x, and it's missing rwlock functionality. Pthreads semaphores are also no-where to be seen. Do we have an implementation of these?

Amiga OS semaphores are similar, with the exception that a thread can upgrade/downgrade a shared lock to an exclusive lock, whereas trying this with a semaphore will cause a deadlock.

Another matter is using pthreads from within an Amiga OS library. IIRC, there may be some issues with this. Is it possible with the threads.library? Or should POSIX threads not be used in this case?

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project