ADC Home > Reference Library > Technical Q&As > Carbon > Performance >

OTScheduleDeferredTask When Task Running


Q: What happens when you use OTScheduleDeferredTask to schedule a task that is running?

A: The "Open Transport Client Note" mentions that OTScheduleDeferredTask returns false when you attempt to schedule a task that is already scheduled, but it doesn't say anything about what happens if the task is running. It turns out that a task that is running is not consider to be scheduled, so OTScheduleDeferredTask will successfully reschedule it.

[Oct 13 1997]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.