Drastic simplification of TCharm's startup sequence:
authorOrion Lawlor <olawlor@acm.org>
Fri, 27 Jun 2003 19:02:20 +0000 (19:02 +0000)
committerOrion Lawlor <olawlor@acm.org>
Fri, 27 Jun 2003 19:02:20 +0000 (19:02 +0000)
commiteec48e9e5677464202230816d659f7289185f1c3
treef20d61b1195fe42a63e8330ea3859ad8231d26d0
parentb8355001bc940aa6334549ef7b592b69c0e3a908
Drastic simplification of TCharm's startup sequence:
now set up TCharm libraries from *within* the threads,
via a user-callable "init" routine; instead of from
*outside* the threads in the old "Attach" routine.

This has a number of benefits:
0.) Library interface is much simpler:
tcharm's error-prone "addClient" and "ready"
calls are no longer needed.

1.) Threads are now completely self-contained,
rather than having a separate "setup" phase where
attach routines are called.  This dramatically
simplifies big programs like the CSAR codes.

2.) Startup sequence now matches MPI-- in fact,
many libraries could now be written directly to
(A)MPI, increasing portability.

3.) Startup "cookie" and "coordinator" are no
longer needed, simplifying the interface and
making checkpointing possible.
src/libs/ck-libs/tcharm/Makefile
src/libs/ck-libs/tcharm/compat_fus.c
src/libs/ck-libs/tcharm/compat_us.c
src/libs/ck-libs/tcharm/libmoduletcharmmain.dep [new file with mode: 0644]
src/libs/ck-libs/tcharm/tcharm.C
src/libs/ck-libs/tcharm/tcharm.ci
src/libs/ck-libs/tcharm/tcharm.h
src/libs/ck-libs/tcharm/tcharm_impl.h
src/libs/ck-libs/tcharm/tcharmc.h
src/libs/ck-libs/tcharm/tcharmmain.C [new file with mode: 0644]
src/libs/ck-libs/tcharm/tcharmmain.ci [new file with mode: 0644]