Domanda di colloquio di Apple

How would you implement a threading model for handling network, filesystem, UI system, etc. as a user-space framework in a very limited resource environment?