2 posts / 0 new
Last post
Last seen: 4 years 1 month ago
Joined: 06/03/2013
Posts: 4
When I used the function sleep() in the callback function of onDataAvailable,i got the message "MIGRTPSBITMAP_GETZEROCOUNT:!PRECONDITION"! I can not understood why i got the error message!
rip's picture
Last seen: 20 hours 5 min ago
Joined: 04/06/2012
Posts: 324

Do not use sleep() or any blocking call in the callback.  ever.

What you are seeing is probably a red herring, that is to say the message is unrelated to what you are doing, it is being thrown because what you did is disturbing proper behavior elsewhere.