Subject: Re: LWP system calls
To: None <>
From: Andrew Doran <>
List: tech-kern
Date: 09/14/2007 01:56:56
On Fri, Sep 14, 2007 at 01:55:21AM +0100, Andrew Doran wrote:

> I'd like to add a few more LWP system calls. The first two are fairly
> obvious. Since we have pthread_setname_np() and the kernel can name LWPs,
> I'd like to add a way to pass that information into the kernel:
> 	int _lwp_setname(const char *);
> 	int _lwp_getname(char *, size_t);

Oops, I meant to put an lwpid_t in there:

	int _lwp_setname(lwpid_t, const char *);
	int _lwp_getname(lwpid_t, char *, size_t);