processor and threads