Self-Writing Threads