base: thread error handling fix

This fixes some implementation logic for mpu context creation so that critical
pthread errors are handled more appropriately.

Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
Acked-by: Kazunori Asayama <asayama@sm.sony.co.jp>
4 files changed