Thread Programming Using Scratch Disks