Alexandre Julliard : server: Use the correct thread id to set affinity.