nix icon indicating copy to clipboard operation
nix copied to clipboard

Add a `sched_getcpu` wrapper

Open jonas-schievink opened this issue 3 years ago • 1 comments
trafficstars

jonas-schievink avatar Sep 23 '22 14:09 jonas-schievink

Thanks! Can you modify the existing test here to validate that setting the affinity actually has an effect by calling sched_getcpu?

rtzoeller avatar Sep 23 '22 23:09 rtzoeller

Thanks for the review! I've addressed the comments.

jonas-schievink avatar Sep 26 '22 13:09 jonas-schievink

@jonas-schievink can you squash the current changes into a single commit? Otherwise this looks great.

rtzoeller avatar Sep 27 '22 00:09 rtzoeller

Okay, I've squashed the commits

jonas-schievink avatar Sep 27 '22 12:09 jonas-schievink