C# 클래스 RampUp.Atomics.AtomicInt

A wrapper around an address under which int is stored. Besides Read, Write provides threadsafe access with possible Aquire-Release Fence semantics.
파일 보기 프로젝트 열기: Scooletz/RampUp

공개 메소드들

메소드 설명
AtomicInt ( byte ptr ) : System
ToString ( ) : string
VolatileWrite ( int value ) : void
Write ( int value ) : void

비공개 메소드들

메소드 설명
CompareExchange ( int value, int comparand ) : long
Read ( ) : int
VolatileRead ( ) : int

메소드 상세

AtomicInt() 공개 메소드

public AtomicInt ( byte ptr ) : System
ptr byte
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

VolatileWrite() 공개 메소드

public VolatileWrite ( int value ) : void
value int
리턴 void

Write() 공개 메소드

public Write ( int value ) : void
value int
리턴 void