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