[Yellowstone] Move registration service to the main yellowstone service
This commit is contained in:
parent
b516087922
commit
05e12aaa7d
13 changed files with 143 additions and 156 deletions
|
|
@ -13,7 +13,6 @@ uint64_t main(uint64_t port_cap) {
|
|||
check(ParseInitPort(port_cap));
|
||||
|
||||
ASSIGN_OR_RETURN(auto server, YellowstoneServer::Create());
|
||||
Thread registration_thread = server->RunRegistration();
|
||||
Thread server_thread = server->RunServer();
|
||||
|
||||
uint64_t vaddr;
|
||||
|
|
@ -22,7 +21,6 @@ uint64_t main(uint64_t port_cap) {
|
|||
check(SpawnProcessFromElfRegion(vaddr, client.Capability()));
|
||||
|
||||
check(server_thread.Join());
|
||||
check(registration_thread.Join());
|
||||
dbgln("Yellowstone Finished Successfully.");
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue