LASSERT(atomic_read(&obd->u.cli.cl_mgc_refcount) >0);if(!atomic_dec_and_test(&obd->u.cli.cl_mgc_refcount)) {/* This is not fatal, every client that stops will call in here. */CDEBUG(D_MOUNT,"mgc still has %d references.\n", atomic_read(&obd->u.cli.cl_mgc_refcount)); ...
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...
inline int atomic_fetch_dec( _Inout_ int * _Dest ) restrict(amp); inline unsigned int atomic_fetch_dec( _Inout_ unsigned int * _Dest ) restrict(amp); 参数_Dest 指向内存位置的指针。返回值原始的内存位置的值。要求标题: amp.h命名空间: 并发请...
inline int atomic_fetch_dec( _Inout_ int * _Dest ) restrict(amp); inline unsigned int atomic_fetch_dec( _Inout_ unsigned int * _Dest ) restrict(amp); 参数_Dest 指向内存位置的指针。返回值原始的内存位置的值。要求标题: amp.h命名空间: 并发请...
在下文中一共展示了g_atomic_int_dec_and_test函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: grava_renderer_unref ▲点赞 6▼ voidgrava_renderer_unref(gpointer instance){ ...