Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
108 user(s) are online (90 user(s) are browsing Forums)

Members: 3
Guests: 105

VooDoo, MartinW, Hans, more...

Support us!

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

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top

  Register To Post

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project