Bankruptcy occurs when the critical CPU time billed to a partition exceeds its critical budget.
It's very important that you test your system under a full load to ensure that everything works correctly, in particular to ensure that you've chosen the correct critical budgets. One method to verify this is to start a while(1) thread in each partition to consume all available time.
If you want to be notified of a bankruptcy, set up a sigevent as appropriate, and then register it by calling procmgr_event_notify() or procmgr_event_notify_add() with the PROCMGR_EVENT_APS_BANKRUPTCY flag.
When a partition runs out of critical budget, it isn't allowed to run again until it receives more budget, that is, the sliding-averaging window recalculates that partition's average CPU consumption to be a bit less than its configured CPU budget. After bankruptcy, enough time must pass for the calculated average CPU time of the partition to fall to its configured budget. At the very least, this means that a number of milliseconds equal to the critical budget must pass before that partition is scheduled again.
You can set the bankruptcy policy with the aps utility (see the Utilities Reference) or the SCHED_APS_SET_PARMS command to SchedCtl() (see the QNX Neutrino C Library Reference).