sunriseos / SunriseOS

Horizon/NX kernel reimplementation
Apache License 2.0
232 stars 13 forks source link

Implement Thread::join #486

Closed marysaka closed 5 years ago

marysaka commented 5 years ago

This allows to wait for a thread to be in an exit state.

Also rearrange ThreadState to be closer to Horizon states.

roblabla commented 5 years ago

Why is state_event arc'd? It doesn't look necessary.

marysaka commented 5 years ago

updated