Lines Matching refs:cleanup
144 // No cleanup here
163 // No cleanup here
535 //perform the cleanup action required
539 // Each event has a cleanup flag associated with it that indicates
544 // If the cleanup flag is B_DELETE or is B_USER_CLEANUP or greater,
545 // the cleanup hook function will be called.
547 // cleanup hook function specified by hook to be called for events
553 // the cleanup hook function is called when the event is removed.
556 // sample code as a cleanup flag)
558 // exiting cleanup flags are:
562 // B_USER_CLEANUP = 0x4000 // others go to the cleanup func
565 if (event->cleanup == BTimedEventQueue::B_NO_CLEANUP) {
568 && event->cleanup == BTimedEventQueue::B_RECYCLE_BUFFER) {
571 } else if (event->cleanup == BTimedEventQueue::B_EXPIRE_TIMER) {
573 } else if (event->cleanup == B_DELETE
574 || event->cleanup >= BTimedEventQueue::B_USER_CLEANUP) {
578 ERROR("BTimedEventQueue cleanup unhandled! type = %" B_PRId32
579 ", cleanup = %" B_PRId32 "\n", event->type, event->cleanup);