Hi Schnoogle,Schnoogle wrote: ↑Tue Jun 05, 2018 6:03 pmThis would usually trigger the VCHIQ callback which is forwarded into MMAL with reason VCHIQ_MESSAGE_AVAILABLE that does check the returned messageID to be MMAL_WORKER_BUFFER_TO_HOST and than triggers the VCHIQ_BULK_RECIEVE. But this initial callback from VCHIQ, once the buffer has been passed is not triggered.
Your description above reminded me of an issue that came up while doing our VCHIQ port, it's relevance depends on your implementation so I'll ask you this first.
Do your mutex structures require initialization before use or can you just start using them immediately?
If that doesn't make sense think of it this way, under Linux you can just allocate a block of memory and pass it to mutex_lock() (or whatever the specific function name is) and it will work, under Windows you have to call CreateMutex() to initialize a mutex first before using it.
If your implementation fits in the latter then there is a case in VCHIQ which can affect the exact scenario you describe above.