File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -511,19 +511,6 @@ However, there are cases where you have to define your own:
511511 list of the constructor. (Early versions of `gcc` doesn't force you to
512512 initialize the const member. It's a bug that has been fixed in `gcc 4`.)
513513
514- ## Why does ASSERT_DEATH complain about previous threads that were already joined?
515-
516- With the Linux pthread library, there is no turning back once you cross the line
517- from a single thread to multiple threads. The first time you create a thread, a
518- manager thread is created in addition, so you get 3, not 2, threads. Later when
519- the thread you create joins the main thread, the thread count decrements by 1,
520- but the manager thread will never be killed, so you still have 2 threads, which
521- means you cannot safely run a death test.
522-
523- The new NPTL thread library doesn't suffer from this problem, as it doesn't
524- create a manager thread. However, if you don't control which machine your test
525- runs on, you shouldn't depend on this.
526-
527514## Why does GoogleTest require the entire test suite, instead of individual tests, to be named `*DeathTest` when it uses `ASSERT_DEATH`?
528515
529516GoogleTest does not interleave tests from different test suites. That is, it
You can’t perform that action at this time.
0 commit comments