Removed CMK_COMMHANDLE macros.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Thu, 1 Mar 2001 09:38:01 +0000 (09:38 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Thu, 1 Mar 2001 09:38:01 +0000 (09:38 +0000)
39 files changed:
src/arch/exemplar/conv-mach.h
src/arch/mpi-axp-cc/conv-mach.h
src/arch/mpi-exemplar/conv-mach.h
src/arch/mpi-linux-vmi/conv-mach.h
src/arch/mpi-linux/conv-mach.h
src/arch/mpi-origin/conv-mach.h
src/arch/mpi-sp/conv-mach.h
src/arch/ncube2/conv-mach.h
src/arch/net-aix-ppc/conv-mach.h
src/arch/net-axp-cc/conv-mach.h
src/arch/net-cygwin/conv-mach.h
src/arch/net-hp-acc/conv-mach.h
src/arch/net-hp-cc/conv-mach.h
src/arch/net-hp/conv-mach.h
src/arch/net-irix-64/conv-mach.h
src/arch/net-irix/conv-mach.h
src/arch/net-linux-axp-cxx/conv-mach.h
src/arch/net-linux-axp/conv-mach.h
src/arch/net-linux-kcc/conv-mach.h
src/arch/net-linux-scyld/conv-mach.h
src/arch/net-linux-smp/conv-mach.h
src/arch/net-linux/conv-mach.h
src/arch/net-sol-cc/conv-mach.h
src/arch/net-sol-smp/conv-mach.h
src/arch/net-sol-x86/conv-mach.h
src/arch/net-sol/conv-mach.h
src/arch/net-sun/conv-mach.h
src/arch/net-win32-smp/conv-mach.h
src/arch/net-win32/conv-mach.h
src/arch/origin-pthreads/conv-mach.h
src/arch/origin2000/conv-mach.h
src/arch/paragon-red/conv-mach.h
src/arch/paragon/machine.c
src/arch/sim-linux/conv-mach.h
src/arch/sp3/conv-mach.h
src/arch/t3e/conv-mach.h
src/arch/uth-linux/conv-mach.h
src/arch/uth-win32/conv-mach.h
src/conv-core/converse.h

index 08c666a14bdcd96951eb30b6ce1640d9b2cd6682..90b550d811e37364e01d9d0439899e33e75d5d48 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index e8bc63851a04962fc7647fda6cdc5741c1be5d17..73fba6a5206e169695fb66c757532d6c6d3b9ae2 100644 (file)
@@ -20,9 +20,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 97c0d90e7adfecb168c965841ccd25775e34e1c9..ae722bb93d7ce4b67f0b40256b36951f0fd9c687 100644 (file)
@@ -14,9 +14,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 976a19202c69034dc5db7108f3874d8b69986753..44ea12badf6ef08b174940e01f2591e3d87fbb12 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 976a19202c69034dc5db7108f3874d8b69986753..44ea12badf6ef08b174940e01f2591e3d87fbb12 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index f9592c6f0440ffb5969b76568dbee413abc3f675..e411b563145648151b2c826d4e1833e26bd054a8 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 11734fc44189e0a6304467b844d236614266d88c..f773b09a222da7bbe14d4251974a1200af6c2118 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index a66a03b029695f0e7b9054c47e284bff41c845a6..16ce4d1247e1cbdbffea33ac03d284c617df9cc5 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index af9f8d37e1e2bff7287783b9871cf4bc9d4bdfae..23a7783878eff59bb0e65c9318cb5a574b99d6f1 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 9f39841b9fbfbcee4895f2ad04674794e5e463c9..8bbdd21e554da3d8f019ee308e1e6b74dd019b38 100644 (file)
@@ -24,9 +24,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index d07e0affadd66c3bc24b04b2746905479a59bbcf..69ac1e52cbcd92b29be956131f2b68080e69beab 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 791c30fb2a54739f10eb7f39fbb98f7fd04fcef6..e0fb73671976aa4191db545aa85c69482d9cc9f0 100644 (file)
@@ -24,9 +24,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index a6ab25741511488b77f30020153be43740e29b6d..eb6dfc4adbfc1e83ee1f39a8e75aa2bc93fceed6 100644 (file)
@@ -24,9 +24,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 138d52561be03250551c7780d1ce0fb6966aec10..7af7ee7a10b6205c86d6257ff67e7f067d531ded 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 47d5bf14db15f37e20b9c2eb545c59a8e83318ff..1cc7dd20c5e28a2526911d942d21c5efd059da40 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 47d5bf14db15f37e20b9c2eb545c59a8e83318ff..1cc7dd20c5e28a2526911d942d21c5efd059da40 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 1dc0c4623763b3eb96797c0919811526adf9d175..cbca35e59d090d24bdb700d044f6dd560ac24c9e 100644 (file)
@@ -24,9 +24,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 1dc0c4623763b3eb96797c0919811526adf9d175..cbca35e59d090d24bdb700d044f6dd560ac24c9e 100644 (file)
@@ -24,9 +24,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 7e4e798d44d1fe0846ff0e8078ff5a4fcf7f7532..0dc439144ba643ee42f27d771e235609a365f8ec 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 0694bfd4efafaf6a0f75d7c2882e1cfc91ab0ae0..d64216d60f73d00441a3ee035dc282608b1eb53e 100644 (file)
@@ -24,9 +24,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index bd8e4123bb5de0263850e5c4592ca5b2c0f6fc45..201fdb6875615b5837d25b5b64f00c893a930431 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 36b9742d278b3ba654e194cd4bb850e6aec224bb..cec05359af68574db3a1d7902bfca040bb85c4a1 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 3b4108a471bdd1a8f108ecd9a22298cfa3eeb24c..916ab77dd9fa6f22b9a75aa0e85299c7cacc4fc3 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 09f0e84fe16e1e61e345ca4bce2947cbe5410da1..053c85ae287e31ecbf6d7f777930014e725579aa 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index d245d70045e0634c12fec08208b6ad6619420259..ca57cdf4141d7e7af6eebbab3f42d954c21e8ca2 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index e5993c3e4c79554a7b2c4988a0444dafab63bd67..7256b5277737db7ba495684b00f8fafaeb2aa9a5 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 26b68f6f602d388d1772a1fd95ec96fe75fb8fd9..7063a16bcb24bab536f9695279d934ab59a2d30c 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index bd97f9e271d4f995ac9e3c810e83cad254c582f8..0696fa30f6b27c5f1aa6139c03b348c862df9a2d 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 9ce73e1b27f54dffdbf9e226321432121da1dc6d..9c0ebc92d295b92a3295ec75b6cb00e4f6e8e3ea 100644 (file)
@@ -22,9 +22,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         1
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       0
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index fc37765309f2f5c79bd10947af8de0134cf4b4cc..dfc1086991211f9f128fd122c64550cb39e6657a 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 4052d3e35ef35aece69234d46bf67893dfcb3360..500b355ef6f98767092181dad0f911657d048216 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 382387d2d86b602a485a17dc2542d3355f25740d..31a826a5f9a3004530972eaee48d25e5eb1d1c18 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       1
-#define CMK_COMMHANDLE_IS_A_POINTER                        0
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 0df7d677d9f435e06f6ae4fadf22b7a2c2238c03..60e30ce340348f0a00790521a364354a91361826 100644 (file)
@@ -123,7 +123,7 @@ void *CmiGetNonLocal()
 int CmiAsyncMsgSent(c)
 CmiCommHandle c ;
 {
-    return (int) msgdone(c);
+    return (int) msgdone((long) c);
 }
 
 
@@ -168,7 +168,7 @@ char * msg;
     long msgid;
     msgid = isend(MSG_TYPE, msg, size, destPE, PROCESS_PID);
     CQdCreate(CpvAccess(cQdState), 1);
-    return msgid;
+    return (CmiCommHandle) msgid;
 }
 
 
@@ -210,7 +210,7 @@ char * msg;
         long msgid;
         msgid = isend(MSG_TYPE, msg, size, ALL_NODES, PROCESS_PID);
         CQdCreate(CpvAccess(cQdState), Cmi_numpes-1);
-        return msgid;
+        return (CmiCommHandle) msgid;
 }
 
 void CmiFreeBroadcastFn(size, msg)
@@ -246,7 +246,7 @@ char * msg;
         memcpy(temp, msg, size) ;
         CdsFifo_Enqueue(CpvAccess(CmiLocalQueue), temp);
         CQdCreate(CpvAccess(cQdState), Cmi_numpes);
-        return msgid;
+        return (CmiCommHandle) msgid;
 }
 
 
index b8839c4d1e58162fe26a64fb7ff1031b810646d4..66f5c218d7d79426041cced7087ffa71209f7784 100644 (file)
@@ -18,9 +18,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 1
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               0
 
index 11734fc44189e0a6304467b844d236614266d88c..f773b09a222da7bbe14d4251974a1200af6c2118 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index d77426b3051007dc4dc9ca3e338ee3cd5fc9a993..dadeafb220b02be6fbb2c258b35b741e3d0fda21 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       1
-#define CMK_COMMHANDLE_IS_A_POINTER                        0
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 19802bffe91a6ef28a770331ad377ee167ba5120..dcc5f7a56f0aabf7daf72402b4159af7b855e456 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 80f81ee71fc26adae6455f1ba53fc28ee27570bd..d1b37fbd8881902beca677f1555a728b1797386a 100644 (file)
@@ -16,9 +16,6 @@
 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
 
-#define CMK_COMMHANDLE_IS_AN_INTEGER                       0
-#define CMK_COMMHANDLE_IS_A_POINTER                        1
-
 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
 
index 952cacb3e74031129e04d58c63b125cb5159453e..c69ccb33522ef20d779236ff33ee3ce604b72088 100644 (file)
@@ -406,14 +406,7 @@ typedef CMK_TYPEDEF_UINT8     CmiUInt8;
 typedef CMK_TYPEDEF_FLOAT4    CmiFloat4;
 typedef CMK_TYPEDEF_FLOAT8    CmiFloat8;
 
-#if CMK_COMMHANDLE_IS_A_POINTER
 typedef void  *CmiCommHandle;
-#endif
-
-#if CMK_COMMHANDLE_IS_AN_INTEGER
-typedef int    CmiCommHandle;
-#endif
-
 typedef void (*CmiHandler)();
 
 typedef struct CMK_MSG_HEADER_BASIC CmiMsgHeaderBasic;