* used to implement concurrent deletion.
*/
typedef uint32 CHashPtr;
-#define InvalidCHashPtr ((uint32) -2)
-#define CHashPtrIsMarked(x) ((x) & 1)
-#define CHashPtrGetOffset(x) ((x) >> 1)
-#define CHashPtrMark(x) ((x) | 1)
-#define CHashPtrUnmark(x) ((x) & ~1)
+#define InvalidCHashPtr ((uint32) -2)
+#define CHashPtrIsMarked(x) ((x) & 1)
+#define CHashPtrGetOffset(x) ((x) >> 1)
+#define CHashPtrMark(x) ((x) | 1)
+#define CHashPtrUnmark(x) ((x) & ~1)
#define MakeCHashPtr(x) ((x) << 1)
#define CHashMaxCapacity CHashPtrGetOffset(InvalidCHashPtr)
* exactly how to calibrate that, either.
*/
chash_bucket = ((uint64) table->desc.id)<<32 | table->gc_next;
- for (i = 0; i < ProcGlobal->allProcCount; i++)
+ for (i = 0; i < ProcGlobal->allProcCount; i++)
{
PGPROC *proc = &ProcGlobal->allProcs[i];