* pthread_attr_setstack.c: Moved to...
* sysdeps/pthread/pthread_attr_setstack.c: ...here. New file.
* pthread_attr_setstackaddr.c: Moved to...
* sysdeps/pthread/pthread_attr_setstackaddr.c: ...here. New file.
2003-03-04 Ulrich Drepper <drepper@redhat.com>
+ * pthread_attr_setstack.c: Moved to...
+ * sysdeps/pthread/pthread_attr_setstack.c: ...here. New file.
+ * pthread_attr_setstackaddr.c: Moved to...
+ * sysdeps/pthread/pthread_attr_setstackaddr.c: ...here. New file.
+
* pthread_create.c: Define __pthread_keys using nocommon
attribute, not by placing it explicitly in bss.
Remove DEFINE_DEALLOC definition. Not needed anymore.
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
if (stacksize < PTHREAD_STACK_MIN)
return EINVAL;
+#ifdef EXTRA_PARAM_CHECKS
+ EXTRA_PARAM_CHECKS;
+#endif
+
iattr->stacksize = stacksize;
iattr->stackaddr = (char *) stackaddr + stacksize;
iattr->flags |= ATTR_FLAG_STACKADDR;
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
{
struct pthread_attr *iattr;
+#ifdef EXTRA_PARAM_CHECKS
+ EXTRA_PARAM_CHECKS;
+#endif
+
assert (sizeof (*attr) >= sizeof (struct pthread_attr));
iattr = (struct pthread_attr *) attr;