[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Thread IDs on BSD
From: |
Richard Frith-Macdonald |
Subject: |
Re: Thread IDs on BSD |
Date: |
Thu, 2 Apr 2015 22:07:08 +0100 |
On 2 Apr 2015, at 23:00, Riccardo Mottola <address@hidden> wrote:
>
> Hi,
>
> I checked on FreeBSD and there are no problems. Launching the test several
> times I get differend thread IDs and with smaller looking numbers.
>
> WARNING thread 0x2b42f068 terminated without calling +exit!
> Passed test: lazy_thread.m:17 ... NSThread lazily created from POSIX
> thread
> Passed test: lazy_thread.m:20 ... Spawned thread is not main thread
> WARNING thread 0x2b42f0b8 terminated without calling +exit!
> Passed test: lazy_thread.m:23 ... NSThread lazily created from POSIX
> thread
> Passed test: lazy_thread.m:25 ... Spawned thread is not main thread
> 2015-04-02 22:00:01.662 lazy_thread[2561:100230] No local time zone specified.
> 2015-04-02 22:00:01.662 lazy_thread[2561:100230] Using time zone with
> absolute offset 0.
> 2015-04-02 22:00:01.646 lazy_thread[2561:100230] Thread description is
> '<NSThread: 0x2b0ba0b8>{name = xxxtestxxx, num = 100230}'
> Passed test: lazy_thread.m:31 ... thread description contains name
Thanks, I'm not sure if the posix thread ID is actually visible to any BSD
system tools anyway, so maybe the actual value doesn't matter very much (as
long as each thread has a unique ID).