Welcome! Log In Create A New Profile

Advanced

[PATCH 1 of 2] fix sched_setaffinity(2) call failure

Joshua Zhu
January 12, 2012 10:38AM
Hi,

'cpu_set_t' should be used instead of 'long' when calling
sched_setaffinity(2). Otherwise it may fail on some Linux systems.
Please see the attachment for more detail.

Regards,

--
Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[PATCH 1 of 2] fix sched_setaffinity(2) call failure

Joshua Zhu January 12, 2012 10:38AM

Re: [PATCH 1 of 2] fix sched_setaffinity(2) call failure

Maxim Dounin January 13, 2012 01:18PM

Re: [PATCH 1 of 2] fix sched_setaffinity(2) call failure

Joshua Zhu January 16, 2012 12:54AM

Re: [PATCH 1 of 2] fix sched_setaffinity(2) call failure

Maxim Dounin January 16, 2012 05:52AM

Re: [PATCH 1 of 2] fix sched_setaffinity(2) call failure

Joshua Zhu January 16, 2012 08:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready