Initial import into sf.net



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@1 ba6dc0ae-232f-0410-883f-9ebac64fc565
Updated README to be lest outdated.




git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2 ba6dc0ae-232f-0410-883f-9ebac64fc565
Initial debian package stuff.  Still needs to be configured.



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@3 ba6dc0ae-232f-0410-883f-9ebac64fc565
made mtcp compile on latest 64 bit debian



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@4 ba6dc0ae-232f-0410-883f-9ebac64fc565
changed TODO list



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@5 ba6dc0ae-232f-0410-883f-9ebac64fc565
fixed build for GCC 4.2.1




git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@6 ba6dc0ae-232f-0410-883f-9ebac64fc565
added toplevel configure/makefile to build both dmtcp and mtcp



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@7 ba6dc0ae-232f-0410-883f-9ebac64fc565
initial restart script output



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@8 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix to run on glibc 2.6.1:
  * reset signal handler in threads each checkpoint cycle (setup_sig_handler)
  * checkpoint thread re-created with clone like the other threads and set 
    up special state (ST_CKPNTHREAD) to separate it out from the others
  * testmtcp2.c: bracket printf/fflush with mutex esle it accvio's
  * mtcp_printf.c: bracket output with mutex so output doesn't get scrambled
  * Makefile: add mtcp_state.o wherever mtcp_printf.o is used
  * mtcp_state.c: fix futex routine
  * mtcp_futex.h: provide futex syscall primitive



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@9 ba6dc0ae-232f-0410-883f-9ebac64fc565
fix 32-bit compile



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@10 ba6dc0ae-232f-0410-883f-9ebac64fc565
Bugfixes:
* Applied bugfix from Kapil Arya (arya.k at neu.edu) for undefined '__user' in
  'linux/futex.h' on some systems
* Removed hardcoded paths from mtcp/Makefile
* Fixed depends in mtcp/Makefile so `make -j N` works 


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@11 ba6dc0ae-232f-0410-883f-9ebac64fc565
* Added callback_ckpt_fd to mtcp to allow dmtcp to prevent the checkpoint of
  file descriptors on a per-file basis 
     Files: mtcp/mtcp.c dmtcp/src/mtcpinterface.cpp mtcp/mtcp.h
* Made debug printing switched off of -DDEBUG
     Files: mtcp/testmtcp.c mtcp_internal.h mtcp/mtcp_restatic.c
            mtcp/mtcp_restore.c mtcp/Makefile
* Made timing printing switched off of -DTIMING
     Files: mtcp_internal.h 
* Added more search paths for mtcp.so/mtcp_restore
     Files: dmtcp/src/jfilesystem.cpp
* Updated todo file, deleted old TODO files
     Files: TODO -dmtcp/TODO -dmtcp/HITLIST


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@12 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fixed typos in ./TODO


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@13 ba6dc0ae-232f-0410-883f-9ebac64fc565
* Small improvements to dmtcp restart script
   M    dmtcp/src/constants.h
   M    dmtcp/src/dmtcpmaster.cpp
* Added more bugs to TODO
   M    TODO


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@14 ba6dc0ae-232f-0410-883f-9ebac64fc565
* Added additional debug printing on restart
* Added command to force a restart even if not all sockets are reconnected



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@15 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix restoring brk state
Revert back to using scandir to save open files
  instead of looping through all possible fd's.



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@16 ba6dc0ae-232f-0410-883f-9ebac64fc565
* Readded use of callback_ckpt_fd that was deleted by mistake
* Fixed compile warning



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@17 ba6dc0ae-232f-0410-883f-9ebac64fc565
* Added command 'dmtcp_restart --force'



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@18 ba6dc0ae-232f-0410-883f-9ebac64fc565
Updated TODO added testmtcp5



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@19 ba6dc0ae-232f-0410-883f-9ebac64fc565
mtcp.c:
  add MTCP_SHOWTIMING envar to show checkpoint stats (so I have something to 
    see when a checkpoint is made)
  change using scandir to using getdents when scanning /proc/self/fd directory 
    to avoid munging malloc state during checkpoint

mtcp_sys.h:
  add mtcp_sys_getdents[64] definitions

testmtcp4.c:
  add variable length mallocing to better test malloc
  add command line param to specify maximum number of iterations
  free random packets (with 0.25 probability) to better test malloc

Makefile:
  add -g option to always include debug symbols
  create mtcp.lis listing file



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@20 ba6dc0ae-232f-0410-883f-9ebac64fc565