Two small things in thread creation: 1. Make sure that the malloc of the stack succeeds. If not, then don't continue creating the thread. 2. Give irq_create_context() the right size argument array.
Two small things in thread creation:
1. Make sure that the malloc of the stack succeeds. If not, then don't continue creating the thread.
2. Give irq_create_context() the right size argument array.



DreamcastSDK/kos,DreamcastSDK/kos,DreamcastSDK/kos