Remove Scheduler::init().
This commit is contained in:
parent
f2a406690e
commit
ee0922d23d
@ -78,9 +78,7 @@ class Scheduler {
|
||||
Scheduler &operator=(Scheduler &&) = delete;
|
||||
~Scheduler();
|
||||
|
||||
void init();
|
||||
void init(int32 id, std::vector<std::shared_ptr<MpscPollableQueue<EventFull>>> outbound, Callback *callback);
|
||||
void clear();
|
||||
|
||||
int32 sched_id() const;
|
||||
int32 sched_count() const;
|
||||
@ -172,6 +170,8 @@ class Scheduler {
|
||||
};
|
||||
friend class ServiceActor;
|
||||
|
||||
void clear();
|
||||
|
||||
void do_event(ActorInfo *actor, Event &&event);
|
||||
|
||||
void enter_actor(ActorInfo *actor_info);
|
||||
|
@ -58,10 +58,6 @@ inline SchedulerGuard Scheduler::get_const_guard() {
|
||||
return SchedulerGuard(this, false);
|
||||
}
|
||||
|
||||
inline void Scheduler::init() {
|
||||
init(0, {}, nullptr);
|
||||
}
|
||||
|
||||
inline int32 Scheduler::sched_id() const {
|
||||
return sched_id_;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user