greenplumn arch-arm 源码

  • 2022-08-18
  • 浏览 (405)

greenplumn arch-arm 代码

文件路径:/src/include/port/atomics/arch-arm.h

/*-------------------------------------------------------------------------
 *
 * arch-arm.h
 *	  Atomic operations considerations specific to ARM
 *
 * Portions Copyright (c) 2013-2019, PostgreSQL Global Development Group
 *
 * NOTES:
 *
 * src/include/port/atomics/arch-arm.h
 *
 *-------------------------------------------------------------------------
 */

/* intentionally no include guards, should only be included by atomics.h */
#ifndef INSIDE_ATOMICS_H
#error "should be included via atomics.h"
#endif

/*
 * 64 bit atomics on ARM32 are implemented using kernel fallbacks and thus
 * might be slow, so disable entirely. On ARM64 that problem doesn't exist.
 */
#if !defined(__aarch64__) && !defined(__aarch64)
#define PG_DISABLE_64_BIT_ATOMICS
#endif  /* __aarch64__ || __aarch64 */

相关信息

greenplumn 源码目录

相关文章

greenplumn arch-hppa 源码

greenplumn arch-ia64 源码

greenplumn arch-ppc 源码

greenplumn arch-x86 源码

greenplumn fallback 源码

greenplumn generic-acc 源码

greenplumn generic-gcc 源码

greenplumn generic-msvc 源码

greenplumn generic-sunpro 源码

greenplumn generic-xlc 源码

0  赞