Commit 1922b5a9 authored by sof's avatar sof
Browse files

[project @ 1999-01-14 18:36:18 by sof]

added isEmptyMVarZh macro
parent 8b7dc908
/* -----------------------------------------------------------------------------
* $Id: PrimOps.h,v 1.4 1999/01/14 11:57:48 sewardj Exp $
* $Id: PrimOps.h,v 1.5 1999/01/14 18:36:18 sof Exp $
*
* Macros for primitive operations in STG-ish C code.
*
......@@ -607,6 +607,9 @@ EF_(newMutVarZh_fast);
-------------------------------------------------------------------------- */
#define sameMVarZh(r,a,b) r=(I_)((a)==(b))
/* Assume external decl of EMPTY_MVAR_info is in scope by now */
#define isEmptyMVarZh(r,a) r=(I_)((GET_INFO((StgMVar*)(a))) == &EMPTY_MVAR_info )
EF_(newMVarZh_fast);
EF_(takeMVarZh_fast);
EF_(putMVarZh_fast);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment