This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New functions pthread_attr_[sg]et_default_np for default thread attributes


> Most attribute values will be the same for created threads, but not
> for the main thread.

In a test of pthread_setattr_default_np, nothing about the initial thread
is relevant.

> Stack size may not always be the same since it may in some cases get
> adjusted to a larger value during thread creation, resulting in
> pthread_getattr_np reporting a larger value than
> pthread_getattr_default_np.

Surely in a controlled test you can pick a size where this won't happen.

> OK, I'll expand coverage of the test.
[...]
> OK, I'll change the names to pthread_[gs]etattr_default_np.

Great.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]