Boost Users :
Subject: Re: [Boost-users] boost thread (non-blocking) communication
From: Igor R (boost.lists_at_[hidden])
Date: 2011-09-11 12:37:28
> 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) ;
Perhaps futures can be helpful:
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net