Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesTuesday, December 03, 2024
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 11
No Members Online

Registered Members: 7,708
Newest Member: nifseg
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | Integrity Systems Forums | Integrity Software Forum
Author Question about ATOMIC builtins and RETRY
pfau
Member

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.
http://nbpfaus.net/~pfau/
Author RE: Question about ATOMIC builtins and RETRY
abrsvc
Member

Posts: 108
Joined: 12.03.10
Posted on January 06 2011 05:31
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.

Dan
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

malmberg
August 04 2022
No more VAX hobbyist licenses. Community licenses for Alpha/IA64/X86_64 VMS Software Inc. Commercial VMS software licenses for VAX available from HPE.

ozboomer
July 20 2022
Just re-visiting.. No more hobbyist licenses? Is that from vmssoftware.com, no 'community' licenses?

valdirfranco
July 01 2022
No more hobbyist license...sad

mister_wavey
February 12 2022
I recall that the disks failed on the public access VMS systems that included Fafner

parwezw
January 03 2022
Anyone know what happened to FAFNER.DYNDS.ORG? I had a hobbyist account here but can longer access the site.

gtackett
October 27 2021
Make that DECdfs _2.1A_ for Vax

gtackett
October 27 2021
I'm looking for DECdfs V2.4A kit for VAX. Asking here just in case anyone is still listening.

MarkRLV
September 17 2021
At one time, didn't this web site have a job board? I would love to use my legacy skills one last time in my career.

malmberg
January 18 2021
New Hobbyist PAKs for VAX/VMS are no longer available according to reports. Only commercial licenses are reported to be for sale from HPE

dfilip
January 16 2021
Can someone please point me to hobbyist license pak? I'm looking for VAX/VMS 7.1, DECnet Phase IV, and UCX/TCPIP ... have the 7.1 media, need the license paks ... thanks!

Bart
October 16 2020
OpenVMS, and this website!

malmberg
September 05 2020
VSI community non-commercial licenses for AXP/IA64 are available now.

malmberg
September 05 2020
See the forum about licensing. Don't know if HPE hobby licenses still being issued. Commercial licenses still being sold.

silfox70
September 01 2020
I need the license for OpenVMS7.3. Where can I find them?

malmberg
August 29 2020
Eisner, which is currently being moved, got an SSH update and the keys were updated to more modern encryption standards.

Shoutbox Archive