I would use a CRITICAL_SECTION here, since we don't need any advanced mutex features; although I suppose it's a matter of preference.