This method of the hls::stream
objects returns true
, if and only if the object is full, as shown below:
hls::stream<int> my_stream;
int src_var = 42;
bool stream_full;
stream_full = my_stream.full();
This method can be used to ensure deterministic behavior of the blocking API.