janpaulus / BRICS_OODL

BRICS Object Oriented Device Layer
4 stars 2 forks source link

synchronous vs asynchronous #14

Open shakhimardanov opened 13 years ago

shakhimardanov commented 13 years ago

Some cameras can not cope with blocking calls made through unicap_buffer_wait(). They go into this call and wait endlessly. For such cameras the best approach would be to implement non-blocking calls through callbacks unicap_register_callback. This should be transparent to a user, in the sense that it should be set through the same interfaces parameters.