dmtcp_get_restart_env() replaces dmtcp_protected_environ_fd()


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2297 ba6dc0ae-232f-0410-883f-9ebac64fc565
Compilation fix for 2291.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2298 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix torque example batch job script
now dmtcpt_command wrapper has only numerical JOBID postfix without hostname


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2299 ba6dc0ae-232f-0410-883f-9ebac64fc565
Added Makefile for IB2TCP plugin.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2300 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix DMTCP port propagation while using resource manager to restart a program.



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2301 ba6dc0ae-232f-0410-883f-9ebac64fc565
IB2TCP: Init queue semaphore on startup.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2302 ba6dc0ae-232f-0410-883f-9ebac64fc565
IB2TCP: Add 1 sec timeout for select.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2303 ba6dc0ae-232f-0410-883f-9ebac64fc565
IB2TCP: Use semaphore for compQueue.

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



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2305 ba6dc0ae-232f-0410-883f-9ebac64fc565
Coord: Use epoll in place of select.

This is needed to make coordinator scalable. Typically, the select
system call can handle upto 1024 file descriptors only while epoll
allows us to handle several thousand fds.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2306 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fixed some compiler warnings.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2307 ba6dc0ae-232f-0410-883f-9ebac64fc565
Minor fix for 2287.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2308 ba6dc0ae-232f-0410-883f-9ebac64fc565
Compiler warning fix; Removed redundant JASSERT.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2309 ba6dc0ae-232f-0410-883f-9ebac64fc565
Coord: Minor fix for 2306.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2310 ba6dc0ae-232f-0410-883f-9ebac64fc565
Coord: Replace timerfd with simpler timeout based on clock.

timerfd is a newer feature that is not available on older Kernels.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2311 ba6dc0ae-232f-0410-883f-9ebac64fc565
Coord: EPOLLRDHUP is available only on 2.6.17+.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2312 ba6dc0ae-232f-0410-883f-9ebac64fc565
Coord: Added dmtcp_get_coord_ckpt_dir() function.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2313 ba6dc0ae-232f-0410-883f-9ebac64fc565
modify-environ.c re-written to expand '$' variables
- Requires dmtcp_setenv and dmtcp_unsetenv to be defined.


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2314 ba6dc0ae-232f-0410-883f-9ebac64fc565
Coord: Show realPid along with virtPid in coordinator.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2315 ba6dc0ae-232f-0410-883f-9ebac64fc565
PID: Don't acquire lock for reading pidmap file.

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