all_memory_fence 函数 array 类 array_view 类 atomic_compare_exchange 函数 [NIB]atomic_exchange 函数 [NIB]atomic_fetch_add 函数 [NIB]atomic_fetch_and 函数 atomic_fetch_dec 函数 atomic_fetch_inc 函数 atomic_fetch_max 函数 atomic_fetch_min 函数 [NIB]atomic_fetch_or 函数 [NIB]atomic_fetch_su...
}while(android_atomic_cmpxchg(queued, queued-1, &stack.queued));// lock the buffer before advancing head, which automatically unlocks// the buffer we preventively locked upon entering this functionhead = (head +1) % numBuffers;constint8_theadBuf =stack.index[head];stack.headBuf = headBuf...
staticintrtc_release(struct inode *inode, struct file *file){atomic_inc(&rtc_status);return0; } 开发者ID:openube,项目名称:android_kernel_sony_c2305,代码行数:5,代码来源:rtc.c 示例11: llog_handle_get ▲点赞 1▼ voidllog_handle_get(struct llog_handle *loghandle){atomic_inc(&loghandle...
all_memory_fence 函数 array 类 array_view 类 atomic_compare_exchange 函数 [NIB]atomic_exchange 函数 [NIB]atomic_fetch_add 函数 [NIB]atomic_fetch_and 函数 atomic_fetch_dec 函数 atomic_fetch_inc 函数 atomic_fetch_max 函数 atomic_fetch_min 函数 [NIB]atomic_fetch_or 函数 [NIB]atomic_fetch_su...
intspi_gpio_next_id(void){staticatomic_tcounter = ATOMIC_INIT(-1);returnatomic_inc_return(&counter); } 开发者ID:darcyg,项目名称:ap_project_v2,代码行数:6,代码来源:spi_gpio_old.c 示例5: __build_packet_message ▲点赞 1▼ //...这里部分代码省略...#elseif(pf == PF_BRIDGE) {/* ...
在下文中一共展示了p_atomic_inc函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: CALLED ▲点赞 7▼ voidGalliumContext::Invalidate(uint32 width, uint32 height) ...
在下文中一共展示了sk_atomic_inc函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: next_id ▲点赞 7▼ staticint32_tnext_id(){int32_tid;do{
在下文中一共展示了g_atomic_int_inc函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: g_thread_pool_set_max_idle_time ▲点赞 9▼ /** * g_thread_pool_set_max_idle_time: ...
在下文中一共展示了atomic_inc_not_zero函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: qib_lkey_ok ▲点赞 6▼ /** * qib_lkey_ok - check IB SGE for validity and initialize ...