On Friday 24 June 2005 17:38, Rudi Schlatte wrote:
> On 24. Jun 2005, at 17:20, G=C3=A1bor Melis wrote:
> [clever things]
> > * (FIND-THREAD THREAD-ID) =3D> THREAD or NIL
> Do thread IDs overflow into bignums or wrap around? And in the
> latter case, what about the highly-unlikely-so-bound-to-happen case
> of getting back another thread with the same ID? IMAO, find-thread
> should operate on thread names (or be removed entirely), since thread
> names are chosen by the user so the burden of keeping them unique
> rests on him as well.
OK, time to retreat. Thread ids may not be a good idea after all. The deniz=
of #lisp pointed out the error of my ways, and while I put up a valiant=20
defense they were numerous and higher level, too.
=46ind-thread and thread-id shall be removed, threads will be printed by=20
print-unreadable-object with :identity t. I've implemented the id/thread=20
mapping in SLIME but it ain't pretty. If only weak hashtables worked.