| 71 | } |
| 72 | |
| 73 | asDWORD asCAtomic::atomicDec() |
| 74 | { |
| 75 | // A very high ref count is highly unlikely. It most likely a problem with |
| 76 | // memory that has been overwritten or is being accessed after it was deleted. |
| 77 | asASSERT(value < 1000000); |
| 78 | |
| 79 | return asAtomicDec((int&)value); |
| 80 | } |
| 81 | |
| 82 | // |
| 83 | // The following code implements the atomicInc and atomicDec on different platforms |
no test coverage detected