12345678910111213141516171819202122232425262728293031323334353637 |
- #include <assert.h>
- #include "pthreadP.h"
- int
- pthread_attr_setguardsize (pthread_attr_t* attr, size_t guardsize)
- {
- struct pthread_attr *iattr;
- assert (sizeof (*attr) >= sizeof (struct pthread_attr));
- iattr = (struct pthread_attr *) attr;
-
- iattr->guardsize = guardsize;
- return 0;
- }
|