Show
Ignore:
Timestamp:
10/11/08 23:06:14 (3 months ago)
Author:
frsyuki
Message:

lang/c/mpio: added mp::iothreads::close()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/c/mpio/trunk/mp/iothreads/reader.pre.h

    r19504 r21142  
    6161MP_ARGS_END 
    6262 
     63        static void close(int fd); 
     64 
    6365        typedef function<void (handler&)> message_t; 
    6466        static void send_message(int fd, message_t* msg); 
     
    8991        void add(int fd, MP_ARGS_PARAMS); 
    9092MP_ARGS_END 
     93 
     94        void close(int fd); 
    9195 
    9296        void send_message(int fd, message_t* msg); 
     
    119123} 
    120124MP_ARGS_END 
     125 
     126inline void reader::close(int fd) 
     127{ 
     128        instance().close(fd); 
     129} 
    121130 
    122131inline void reader::send_message(int fd, message_t* msg) 
     
    163172MP_ARGS_END 
    164173 
     174inline void close(int fd) 
     175{ 
     176        reader::close(fd); 
     177} 
    165178 
    166179MP_ARGS_BEGIN