MIGRTPSBITMAP_GETZEROCOUNT:!PRECONDITION

2 posts / 0 new
Last post
Offline
Last seen: 3 years 11 months ago
Joined: 06/03/2013
Posts: 4
MIGRTPSBITMAP_GETZEROCOUNT:!PRECONDITION
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
rip's picture
Offline
Last seen: 20 hours 27 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.