Hi Jack!
Use boost.interprocess: http://www.boost.org/doc/libs/1_47_0/libs/interprocess/index.html


niXman

2011/9/11 Jack Bryan <dtustudy68@hotmail.com>
Hi, 

I am trying to do data-exchange communication  among boost::threads. 

Are there asynchronous (non-blocking) communication APIs in boost ? 

For example, 

non_block_send( receiver_address,  data_buffer, data_volume, data_tag , send_status ); 

non_block_recv( sender_address,  data_buffer, data_volume, data_tag , recv_status );  

if (recv_status  == TRUE)   
                          getData(data_buffer) ; 
else
wait;

Any help is really appreciated. 

Thanks

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users