include/core/SkThread_platform.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SkMutex

Functions

int32_t sk_atomic_inc (int32_t *addr)
int32_t sk_atomic_dec (int32_t *addr)

Function Documentation

int32_t sk_atomic_dec ( int32_t *  addr  ) 

Implemented by the porting layer, this function subtracts 1 to the int specified by the address (in a thread-safe manner), and returns the previous value.

int32_t sk_atomic_inc ( int32_t *  addr  ) 

Implemented by the porting layer, this function adds 1 to the int specified by the address (in a thread-safe manner), and returns the previous value.


Generated on Tue Oct 20 11:03:41 2009 for Skia by  doxygen 1.6.1