1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-11 12:10:50 +03:00

Avoid race between {,__de}allocate_stack and __reclaim_stacks during fork

This commit is contained in:
Andreas Schwab
2011-09-15 14:48:01 +02:00
parent edc121be8b
commit 7a775e6b3d
7 changed files with 41 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/* Private header for thread debug library
Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
Copyright (C) 2003, 2004, 2007, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,6 +29,7 @@
#include "proc_service.h"
#include "thread_db.h"
#include "../nptl/pthreadP.h" /* This is for *_BITMASK only. */
#include <list.h>
/* Indeces for the symbol names. */
enum