[spi] reversed to old threading functions.