Re: API for detection of multiple CPUs
From: Haedn Thorn (lordhaedn1_at_nospam.cox.net)
Date: 10/28/03
- Next message: David: "Re: API for detection of multiple CPUs"
- Previous message: Haedn Thorn: "Re: which linux for presario?"
- In reply to: apm: "API for detection of multiple CPUs"
- Next in thread: David: "Re: API for detection of multiple CPUs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 07:14:57 -0600
apm wrote:
> Does anyone know if there is an API for detecting how many CPUs are
> present? I am after a way of programmatically determining whether or
> not a spinlock could be used in preference to a pthread mutex.
>
> Many thanks,
>
> Andrew Marlow
'cat /proc/cpuinfo | grep processor'
- Next message: David: "Re: API for detection of multiple CPUs"
- Previous message: Haedn Thorn: "Re: which linux for presario?"
- In reply to: apm: "API for detection of multiple CPUs"
- Next in thread: David: "Re: API for detection of multiple CPUs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|