Made throttled_pmap use new_semaphore_t.