Changeset 4ef27eb in mainline


Ignore:
Timestamp:
2025-01-25T16:39:55Z (37 hours ago)
Author:
Matěj Volf <git@…>
Children:
c880421
Parents:
544c5b4
Message:

add a diagram showing the potential issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/thread/tls.c

    r544c5b4 r4ef27eb  
    142142         * the allocation, so if the padding has nonzero size, if think the initialization
    143143         * data is now incorrectly offset by its size?
     144         *
     145         * Maybe a diagram helps explaining this?
     146         * |    allocation   |     |
     147         * | paddding | data | tcb |
     148         *   ^
     149         *   +--- we will copy the initialization data here
     150         *              ^
     151         *              +--- but the data should be actually here?
    144152         */
    145153
Note: See TracChangeset for help on using the changeset viewer.