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

Change-Id: I3fda3d3a1bc4cafa201c854ba93118efbdc6e496