Re: linux equivalent
From: Andrew Taylor (ataylor_at_its.to)
Date: 09/03/04
- Next message: Tony Burrows: "Re: QT NEWBIE - USER INPUT HELP"
- Previous message: Jose Maria Lopez Hernandez: "Re: Developing a server receiving multiple sockets"
- In reply to: shane_lca: "linux equivalent"
- Next in thread: James McIninch: "Re: linux equivalent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 03 Sep 2004 19:15:12 GMT
shane_lca wrote:
> Actually following interfaces are found in Solaris.
> But these functions are not supported on Linux.
> pset_assign(2) - manage sets of processors
> pset_bind(2) - bind LWPs to a set of processors
> pset_create(2) - manage sets of processors
> pset_destroy(2) - manage sets of processors
> pset_getattr(2) - set or get processor set attributes
> pset_info(2) - get information about a processor set
> pset_list(2) - get list of processor sets
> pset_setattr(2) - set or get processor set attributes
>
> Does linux provide any equivalent interfaces which can
> be used instead of these interfaces?
GNU libc provides an interface to get the number of processors and to
bind processes and threads to a set of processors:
http://www.gnu.org/software/libc/manual/html_node/Processor-Resources.htm
http://www.gnu.org/software/libc/manual/html_node/CPU-Affinity.html
-- Andrew
- Next message: Tony Burrows: "Re: QT NEWBIE - USER INPUT HELP"
- Previous message: Jose Maria Lopez Hernandez: "Re: Developing a server receiving multiple sockets"
- In reply to: shane_lca: "linux equivalent"
- Next in thread: James McIninch: "Re: linux equivalent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|