MIGRTPSBITMAP_GETZEROCOUNT:!PRECONDITION

2 posts / 0 new
Last post
Offline
Last seen: 1 month 3 weeks 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: 3 days 17 hours ago
Joined: 04/06/2012
Posts: 321

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.