Ignore:
Timestamp:
01/17/13 18:44:15 (10 years ago)
Author:
mmamonski
Message:

PBS DRMAA autoclose connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_drmaa/session.h

    r72 r85  
    2727#include <drmaa_utils/session.h> 
    2828 
     29#include <pbs_drmaa/pbs_conn.h> 
     30 
    2931typedef struct pbsdrmaa_session_s pbsdrmaa_session_t; 
    3032 
    31 fsd_drmaa_session_t * 
    32 pbsdrmaa_session_new( const char *contact ); 
     33fsd_drmaa_session_t *pbsdrmaa_session_new( const char *contact ); 
    3334 
    3435struct pbsdrmaa_session_s { 
     
    4546 
    4647        /* 
    47          * PBS connection (or -1 if not connected). 
    48          * A descriptor of socket conencted to PBS server. 
     48         * PBS connection handle 
    4949         */ 
    50         int pbs_conn; 
     50        pbsdrmaa_pbs_conn_t *pbs_connection; 
    5151 
    5252        /* 
     
    9191 
    9292        /* 
    93          * Whether to cache PBS Connection 
     93         * PBS Max connection time 
    9494         */ 
    95         bool cache_connection; 
     95        int connection_max_lifetime; 
    9696}; 
    9797 
Note: See TracChangeset for help on using the changeset viewer.