Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semaphore or mutex).

For reference you can read

and

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semaphore or mutex).

For reference you can read

and

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semaphore or mutex).

For reference you can read

and

added 1 character in body
Source Link

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semaporesemaphore or mutex).

For reference you can read

and

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semapore or mutex).

For reference you can read

and

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semaphore or mutex).

For reference you can read

and

added 275 characters in body
Source Link

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semapore or mutex).

For reference you can read

and

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture.

For reference you can read

and

is there any issue running on other architecture (weak memory order)?

Well, std::atomic isn't guaranteed by the standard to be lock free. It totally depends on the target CPU's architecture, and capabilities.

If there are single operations supported by the CPU to access and change specific values, they will be lock free. Otherwise any operations on std::atomic may need to use an implementation that involve a synchronization mechanism (semapore or mutex).

For reference you can read

and

Source Link
Loading