[Yellowstone] Use semaphores for handling yellowstone registration.
This commit is contained in:
parent
41bf78cf98
commit
19e394ae7b
3 changed files with 17 additions and 31 deletions
|
|
@ -27,12 +27,12 @@ uint64_t main(uint64_t port_cap) {
|
|||
ASSIGN_OR_RETURN(YellowstoneClient client1, server->CreateClient());
|
||||
check(SpawnProcess(gBootDenaliVmmoCap, client1.Capability()));
|
||||
|
||||
check(server->WaitDenaliRegistered());
|
||||
server->WaitDenaliRegistered();
|
||||
|
||||
ASSIGN_OR_RETURN(YellowstoneClient client2, server->CreateClient());
|
||||
check(SpawnProcess(gBootVictoriaFallsVmmoCap, client2.Capability()));
|
||||
|
||||
check(server->WaitVictoriaFallsRegistered());
|
||||
server->WaitVictoriaFallsRegistered();
|
||||
|
||||
dbgln("VFS Available.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue