Skip to content

clarification: sizeof(data) or sizeof(ThreadData), pg. 70 & 71 #8

Description

@profnandaa

On page 70 and 71:

image

Though in the code sample, you are using sizeof(ThreadData):

information = sizeof(ThreadData);

As much as both are 8, it could be misleading since the pointer size will stay the same regardless of struct change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions