Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Thread locality [closed]

What is thread locality? I've been doing some research on a particular topic and thread locality has come a up a few times. I haven't been able to find a clear definition of what's meant though.

like image 581
HXSP1947 Avatar asked Feb 21 '26 12:02

HXSP1947


1 Answers

Thread locality refers to thread local storage. Data marked as threadlocal/threadstatic, is available as per thread copy to each thread accessing it. Any modification in data in one thread is isolated to any other thread.

Read this for details.

like image 176
Tilak Avatar answered Feb 23 '26 18:02

Tilak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!