This source file includes following definitions.
- PostNonNestableTask
- DeleteSoonInternal
- ReleaseSoonInternal
#include "base/sequenced_task_runner.h"
#include "base/bind.h"
namespace base {
bool SequencedTaskRunner::PostNonNestableTask(
const tracked_objects::Location& from_here,
const Closure& task) {
return PostNonNestableDelayedTask(from_here, task, base::TimeDelta());
}
bool SequencedTaskRunner::DeleteSoonInternal(
const tracked_objects::Location& from_here,
void(*deleter)(const void*),
const void* object) {
return PostNonNestableTask(from_here, Bind(deleter, object));
}
bool SequencedTaskRunner::ReleaseSoonInternal(
const tracked_objects::Location& from_here,
void(*releaser)(const void*),
const void* object) {
return PostNonNestableTask(from_here, Bind(releaser, object));
}
}