Resources & Locking

Injectable resources, enqueue gates, distributed locks, and periodic tasks.