Move multithread impl to system. am: bd10b5aa5a am: 050dbf98ba
am: 6fdd9fad11

Change-Id: I30276543edee7607a431cb11f6ac24442c3685ed