thread_sync_pagedir()