0

I plan to run some pthread-based parallel applications on a SPARC architecture, under the RMO memory model. I was just wondering if the pthread implementation is safe to use for such memory model, or I need to have a custom locking library?

thanks,

E.

Evan
  • 1
  • What machine /OS are you targeting ? Cos I'm pretty sure that the UltrasparcII was the last to support RMO, and that's pretty old stuff now. – camelccc Oct 14 '12 at 18:32

1 Answers1

2

This is an in-depth discussion of your question.

http://developers.sun.com/solaris/articles/atomic_sparc/

Short answer:

pthreads == ok.

jim mcnamara
  • 16,005
  • 2
  • 34
  • 51