Date: Fri, 3 Dec 2004 15:41:54 -0700 From: Greg Lewis <glewis@eyesbeyond.com> To: Will Saxon <WillS@housing.ufl.edu> Cc: java@freebsd.org Subject: Re: linux-sun-jdk15 or jdk15 on 5.3R-p2 Message-ID: <20041203224154.GA37533@misty.eyesbeyond.com> In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED803A2D3A8@bragi.housing.ufl.edu> References: <0E972CEE334BFE4291CD07E056C76ED803A2D3A8@bragi.housing.ufl.edu>
index | next in thread | previous in thread | raw e-mail
On Fri, Dec 03, 2004 at 03:22:16PM -0500, Will Saxon wrote:
> Hello,
>
> I am another user who is not able to get linux-sun-jdk15
> working on a 5.3-R machine. Truss shows:
>
> linux_mkdir(0x805cba8,0x1ed) ERR#17 'File exists'
> linux_lstat64(0x805cba8,0xbfbfc740,0xbfbfc898) = 0 (0x0)
> linux_open("/tmp/hsperfdata_root/77570",0x242,0600) = 3 (0x3)
> oftruncate(0x3,0x8000) = 0 (0x0)
> linux_mmap(0xbfbfc8d0) = 681074688 (0x28986000)
> close(3) = 0 (0x0)
> #224() ERR#78 'Function not implemented'
FWIW:
# grep 224 /usr/include/asm/unistd.h
#define __NR_gettid 224
And:
#include <sys/types.h>
#include <linux/unistd.h>
_syscall0(pid_t,gettid)
pid_t gettid(void);
DESCRIPTION
gettid returns the thread ID of the current process. This is equal to the
process ID (as returned by getpid(2)), unless the process is part of a
thread group (created by specifying the CLONE_THREAD flag to the clone(2)
system call). All processes in the same thread group have the same PID, but
each one has a unique TID.
RETURN VALUE
On success, returns the thread ID of the current process.
--
Greg Lewis Email : glewis@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis@FreeBSD.org
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041203224154.GA37533>
