Move multithread impl to system.
am: bd10b5aa5a

Change-Id: I6f78d61e3fa13936e57288f34363c8a425ae5cca