Petr Salinger:
>> I think you can avoid this by using the primitive:
>>
>> lwpid_t tid;
>> syscall (SYS_thr_self, &tid);
>
> There is a mess in kernel interfaces,
> the right one is
>
> long tid;
> syscall (SYS_thr_self, &tid);
Is there any lwpid_t which isn't "long" and defined by kernel heade
I think you can avoid this by using the primitive:
lwpid_t tid;
syscall (SYS_thr_self, &tid);
There is a mess in kernel interfaces,
the right one is
long tid;
syscall (SYS_thr_self, &tid);
But it holds only for current pthread implementation,
it can be changed anytime.
Petr
--
To UNSUBSCR
Steven Chamberlain:
> A workaround may be to use pthread_self(), except that the exported
> getCurrentThreadId function has to return 'unsigned int'. On
> kfreebsd-amd64 a 64-bit pointer to a pthread_t is not absolutely
> guaranteed to be unique if truncated to 32 bits,
I think you can avoid this
Source: osgearth
Version: 2.4.0+dfsg-5
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Severity: serious
Justification: fails to build from source (but built successfully in the
past)
Hi,
osgearth fails to build on kfreebsd-* because it t
4 matches
Mail list logo