#129 bu_avail_cpus() always reports 2 on intel macs

unexpected behavior
closed-fixed
5
2007-08-29
2007-08-29
No

int main(){ printf("%d\n", bu_avail_cpus()); return 0;}

always prints 2 on an intel Mac.

Discussion

  • Erik Greenwald

    Erik Greenwald - 2007-08-29

    Logged In: YES
    user_id=6576
    Originator: YES

    Test for apple was done by looking for the __ppc__ define. Changed it to look for __ppc__ or __APPLE__.

     
  • Erik Greenwald

    Erik Greenwald - 2007-08-29
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks