Switched modifiers to take in thread IDs instead of actual thread objects