2018-01-26 08:43:22 +00:00
|
|
|
#ifndef _KERNEL_KE_ATOMIC_H_
|
|
|
|
#define _KERNEL_KE_ATOMIC_H_
|
2017-02-01 03:26:08 +00:00
|
|
|
|
2018-01-26 08:43:22 +00:00
|
|
|
#include "type.h"
|
|
|
|
#include "kernel/hal/atomic.h"
|
2017-02-23 02:36:00 +00:00
|
|
|
|
2018-02-18 07:48:59 +00:00
|
|
|
int32_t SXAPI ke_interlocked_exchange_32(int32_t *target, int32_t val);
|
2017-02-23 02:36:00 +00:00
|
|
|
|
2018-02-18 07:48:59 +00:00
|
|
|
int32_t SXAPI ke_interlocked_increment_32(int32_t *target, int32_t increment);
|
2017-02-23 02:36:00 +00:00
|
|
|
|
2018-02-18 07:48:59 +00:00
|
|
|
int32_t SXAPI ke_interlocked_compare_exchange_32(int32_t *target, int32_t compare, int32_t val);
|
2017-02-01 03:26:08 +00:00
|
|
|
|
|
|
|
#endif
|