CPU affinity fixes

Hi,

Here are two patches for the CPU affinity setting feature.
Code review and testing are appreciated.

Regards,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs