[PATCH 4/7] winemac: Use pthread for cursor cache locking.