repo.or.cz
/
charm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
build: fix travis MPI/SMP build
[charm.git]
/
tests
/
converse
/
megacon
/
handler.c
blob
223a75d11c3fbcc5e4aef106a125686fb466bd27
1
#include <stdio.h>
2
#include <converse.h>
3
4
void
Cpm_megacon_ack
(
CpmDestination
);
5
6
void
handler_init
()
7
{
8
Cpm_megacon_ack
(
CpmSend
(
0
));
9
}
10
11
static void
handler_dummy
(
void
*
msg
)
12
{
13
CmiFree
(
msg
);
14
}
15
16
void
handler_moduleinit
()
17
{
18
int
i
,
dummy_idx
;
19
for
(
i
=
0
;
i
<
300
;
i
++)
20
dummy_idx
=
CmiRegisterHandler
(
handler_dummy
);
21
}