Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 652 results for
atomic
- Page 1
Handling Real-Time DOM Sync in SSR React App with Dynamic Nested Routes
Programming
Web Development
1 Week Ago
by Neil_brown001
… that re-mount when switching routes. How can I ensure
atomic
reactivity and state consistency across nested layouts/components when: Server…
Re: atomic operation in c++
Programming
Software Development
14 Years Ago
by Taywin
I doubt there is such a natural
atomic
operation in C++. If you use a library to force anything to be
atomic
, then it should. I would say no in this case.
atomic increment is not working properly..
Programming
Software Development
16 Years Ago
by akmittal
… this problem - i have a assembly code which does the
atomic
increment [code=assembly] Atomic_Add (volatile unsigned int *addr, int additive…
atomic operation in c++
Programming
Software Development
14 Years Ago
by johnray31
Hello guys, Do ++/-- are
atomic
operations in c++? Thanks
Re: atomic operation in c++
Programming
Software Development
14 Years Ago
by abdelhakeem
Yes, when applied to integers and pointers they are always
atomic
, but the overloaded ++/-- are not, since they are translated by the compiler into instructions that are more than one. Read [URL="http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=469"]this[/URL].
atomic alternative VS2010
Programming
Software Development
11 Years Ago
by Suzie999
… to indicate when a thread is complete. Quickly discovered `std::
atomic
<type> var(val);` only to find it has…
Re: From beginner in Java: Atomic type-what is it?
Programming
Software Development
17 Years Ago
by indienick
… of the classes in the java.util.concurrent.
atomic
package have the "
Atomic
" prefix in their names. All of those… classes "...provide
atomic
access to arrays of values and provide [b]volatile[/b…
Re: Is C binary flag atomic?
Programming
Software Development
10 Years Ago
by Schol-R-LEA
…any case, the likelihood of it being implemented in an
atomic
fashion is very low. In the scenario you describe, … x86 architecture has some instructions that are guaranteed to be
atomic
(with the LOCK modifier), there is no (portable and…of this is, no, that isn't going to be
atomic
without blocking, and on a modern multicore/multiprocessor system, …
From beginner in Java: Atomic type-what is it?
Programming
Software Development
17 Years Ago
by Ainur
Dear all Could you tell me what is it-
atomic
type in Java? I explored internet and book Java in 21 days,but nothing about it. The question was about difference between object reference and
atomic
type. I found that object reference is an address that indicates where an object's variable and methods are stored. Thank you
Resume write (atomic operations with pipes vs. split files)
Hardware and Software
Linux and Unix
10 Years Ago
by Hiroshe
… Unix catagory, however I beleive Windows pipes also can perform
atomic
writes - correct me if I'm wrong! Say I'm… I'm currently doing is reading PIPE_BUF bytes (to guarrentee
atomic
operations if I understand them correctly) of information from my…
Re: Is variable++ 1 atomic action?
Programming
Computer Science
19 Years Ago
by Dogtree
…] Optimizations can make it close to
atomic
for all cases of built-in types, or
atomic
for some cases of some built…
Re: From beginner in Java: Atomic type-what is it?
Programming
Software Development
17 Years Ago
by jwenting
An
atomic
type in the context referred to most likely should be read as a primitive type. That's int, long, double, float, byte, and char. They don't refer to Object references, like everything else.
Is variable++ 1 atomic action?
Programming
Computer Science
19 Years Ago
by bigbrother2000
Hi everyone, just wondering if anyone knows if any variable++ would be classed as 1
atomic
action? Thanks guys
Win version for atomic.h
Programming
Software Development
16 Years Ago
by amt_muk
Hello Friends, I am trying to porting an unix c++ program into windows using MSVC8.0 compiler. In my unix version there are some lines like [CODE] #include <sys/
atomic
.h> ... atomic_add_int_nv() ... [/CODE] Now, pls help me to find out the Win version of these code segments. Thanks, Amit
Re: Win version for atomic.h
Programming
Software Development
16 Years Ago
by ArkM
Look at [url]http://www.audiomulch.com/~rossb/code/lockfree/
ATOMIC
.H[/url]
Question Inline Atomic Add
Programming
Software Development
12 Years Ago
by dmanw100
… this question is simplistic. I would like to implement an
atomic
add (for incrementing an array pointer). My code looks like…
Excel Help : How to get atomic values in excel cell.
Programming
Databases
11 Years Ago
by fashxfreak
… contain multiple values separated by (,).Now I want to get
atomic
values in all cells of column 'C'. i.e. that…
Re: Excel Help : How to get atomic values in excel cell.
Programming
Databases
11 Years Ago
by LastMitch
… contain multiple values separated by (,).Now I want to get
atomic
values in all cells of column 'C'. i.e. that…
Is C binary flag atomic?
Programming
Software Development
10 Years Ago
by N1GHTS
… other words, are set or clear operations in this structure
atomic
and therefore thread safe?
Re: atomic increment is not working properly..
Programming
Software Development
16 Years Ago
by Salem
So is the "not working properly" related to the "add" part of the problem or the "lock" part of the problem? cli isn't going to do anything useful at all if you have multiple cores. AFAIK, it's a "per core" thing, so disabling it on one doesn't stop the other from messing with the variable. The use case …
Re: atomic alternative VS2010
Programming
Software Development
11 Years Ago
by mike_2000_17
For pre-C++11 compilers, i.e. C++03 compilers, you should use the Boost libraries, which is where all the standard library additions came from, and will likely come from in the future. In this case, the [Boost.Thread](http://www.boost.org/doc/libs/1_54_0/doc/html/thread.html) library is what you are looking for. However, I doubt that your idea is …
Re: atomic alternative VS2010
Programming
Software Development
11 Years Ago
by Suzie999
Thank's for reply and suggestion, I appreciate your time. I have heard much about boost and seen many answers around which recerence it.
Re: atomic alternative VS2010
Programming
Software Development
11 Years Ago
by rubberman
The Boost library does some pretty amazing stuff. It is commonly used by the HEP (High Energy Physics) programming community, which should indicate its capability and quality - these are people who would rather program directly in Fortan than C++, but had eschewed Fortran for C++ with Boost over the past 10-20 years. FWIW, my wife is a particle …
Re: From beginner in Java: Atomic type-what is it?
Programming
Software Development
17 Years Ago
by Ainur
Thank you!:)
Re: From beginner in Java: Atomic type-what is it?
Programming
Software Development
17 Years Ago
by indienick
You are very welcome! :D
Re: From beginner in Java: Atomic type-what is it?
Programming
Software Development
17 Years Ago
by jwenting
And technically primitives are stored in a different memory space from object instances (but not the references you deal with to those instances). But they can be stored in different memory spaces depending on where and how they're created, where object instances are always created in the same space.
Re: Resume write (atomic operations with pipes vs. split files)
Hardware and Software
Linux and Unix
10 Years Ago
by Hiroshe
I have another idea. In the case of a local file, if a stream breaks, wait for the user to fix it and then use `dd` to overwrite the last block (I'm hopping that dd doesn't need to seek through the file in the case of a tape drive), and start appending to the stream from there. In the case of doing it over a network, we would do the same thing (…
Re: Is variable++ 1 atomic action?
Programming
Computer Science
19 Years Ago
by Dogtree
In general, no.
Re: Is variable++ 1 atomic action?
Programming
Computer Science
19 Years Ago
by bigbrother2000
Thanks Dogtree for replying, I had this question in an exam, true or false, I don't know anything about it though, would you be able to explain why it is false, that would be great
Re: Win version for atomic.h
Programming
Software Development
16 Years Ago
by grumpier
A starting point for you would be to specify what atomic_add_int_nv() actually does under unix. Forum readers are not mind-readers, and not generally all that good at working out what arbitrarily named non-standard functions do. If you look up the documentation for atomic_add_int_nv(), you may also be able to work out the answer for yourself.
1
2
3
11
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC