Gary Guo

Results 147 comments of Gary Guo

Hmm, I guess maybe you couldn't listen on another user's VM's socket? Have you tried to run `wsldhost.exe ` in the standard user under which the WSL2 run?

Reboot will change VMID so yes. I believe you don't need to be admin for the API. Can you try to add the standard user into the `Hyper-V administrators` group...

It certainly is *possible*, e.g. by launching a service from admin that just report VMIDs, and let wsldhost retrieve VMID from that service. Unfortunately this would require significant change and...

Thanks for the note! I'll have a look.

Latest commit on the master branch has switched the VMID retrieval mechanism to registry.

There shouldn't be any blockers preventing multiple instances of wsld being used. I don't have multiple distros installed so I am not certain what's wrong there. How did you configure...

I don't think we need to use hash tables like parking lot for targets without futex support. We could just store the queues inside Mutex. I think the only downside...

I don't think pthread mutexes are fair so the new implementation shouldn't be required to be fair either.

Can we explicitly leave the validity invariant as something to be specified in the future? i.e. producers of fat raw pointers would be required to satisfy the entire safety invariant...

Shouldn't this be called labelled block expression instead of labelled break expression?