[PATCH v4 04/15] ARC: Thread Local Storage support
Vineet Gupta
vineetg76@gmail.com
Thu Mar 26 02:47:19 GMT 2020
On 3/25/20 6:57 PM, Joseph Myers wrote:
> On Thu, 12 Mar 2020, Vineet Gupta via Libc-alpha wrote:
>
>> +-- Derive offsets relative to the thread register.
>> +#define thread_offsetof(mem) (long)(offsetof(struct pthread, mem) - sizeof(struct pthread))
>
> Missing spaces before '(' in calls to offsetof and sizeof.
Fixed.
>
>> +TLS_TCB_SIZE sizeof(tcbhead_t)
>> +
>> +PTHREAD_TID offsetof(struct pthread, tid)
>
> Likewise.
>
Fixed.
More information about the Libc-alpha
mailing list