1from lldbsuite.test.decorators import *
2from lldbsuite.test.concurrent_base import ConcurrentEventsBase
3from lldbsuite.test.lldbtest import TestBase
4
5
6@skipIfWindows
7class ConcurrentManyWatchpoints(ConcurrentEventsBase):
8    # Atomic sequences are not supported yet for MIPS in LLDB.
9    @skipIf(triple="^mips")
10    @add_test_categories(["watchpoint"])
11    @skipIfOutOfTreeDebugserver
12    def test(self):
13        """Test 100 watchpoints from 100 threads."""
14        self.build()
15        self.do_thread_actions(num_watchpoint_threads=100)
16