linux-sun-jdk15 or jdk15 on 5.3R-p2

Greg Lewis glewis at eyesbeyond.com
Fri Dec 3 14:41:57 PST 2004


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 at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list