[Date Prev][Date Next]
Re: (ITS#4943) tpool.c pause vs. finish
> email@example.com wrote:
>> - TID_HASH() fails if several ldap_pvt_thread_t bit patterns can
>> represent the same thread ID, e.g. if it is a struct/integer type with
>> padding bytes/bits.
> That doesn't matter, since the table will use linear probing to compare
> thread IDs.
Ah, it works when creating new threads. But not in pool_context(),
which stops searching when it hits an unused slot (thread ID tid_zero).