Posts: 33 Location: North Brunswick, NJ Joined: 12.03.08
Posted on January 06 2011 03:50
At work, we're maintaining a multithreaded application and I need to use the atomic builtins available to the C compiler. I'm curious about the difference between __ATOMIC_INCREMENT_x and __ATOMIC_INCREMENT_x_RETRY. In particular, if I use the non-RETRY version, does it guarantee that the value will be incremented or does it retry some number of times and give up? I assume since there's no status return that it retries until successful.
The version without the retry count will always return after the increment is completed. If the atomic function is not possible, the application will hang at that funtion until such time as it can be completed. The retry version will attempt at least once (even if the retry number is 0) and return without updating the target should the retry limit be reached. In other words the call with the retry limit will give up after that number of retries.
malmberg March 24 2018 Probably. More people hang out on the comp.os.vms newsgroup.
vaxpert March 23 2018 I have a PE42A and other Alpha system stuff for sale. I'm in So California. Any interest out there?
goodbyespy February 27 2018 To Prohorenko. Please, visit group OpenVMS in the ok.ru
peteherrera February 24 2018 How much does it cost to buy a complete OpenVMS hardcopy documentation set of the latest version
prohorenko February 17 2018 Please help to obtain the license on OpenVMS
malmberg December 12 2017 HPE only makes the most current version of OpenVMS Alpha / IA64 /VAX available to hobbyists. When I had access to the Alliance 1 program it was the same. No public downloads are allowed by HPE.
nmbonao December 08 2017 Is anybody knows OpenVMS 8.2 version downloadable version? or CD copy? Thank you very much
aarommes December 02 2017 Bitcoin and Blockchain enthusiasts ( plus distributed computing ) please connec / reply: http://www.openvmshobbyis t.com/forum/viewthread.ph p?forum_id=130&thread_id= 2991
malmberg September 10 2017 https://sourceforge.net/p /vms-ports/wiki/VMSInstal lation/ For the most part just use VMS 6.1 media instead of 7.3. But why run the older release?
DoeveR August 07 2017 Where can I find the write up on running VMS 6.1 using the simh emulator?
Bart March 20 2017 Happy to have found my password again!