ThreadFileAllows.txt (2682B)
1 # This file is ingested by `ThreadAllows.py` to produce a list of files which 2 # our clang plugin will allow to use `NS_NewNamedThread`. 3 # 4 # Files may be specified with any number of slash-separated path-elements; all 5 # provided path-elements must match. (Because we often move and/or symlink 6 # header files, this means headers will usually have no path-elements.) 7 # 8 # Note that this file contains a list of _files_, not _paths_. The clang plugin 9 # has no notion of $TOPSRCDIR. 10 11 ###### 12 # Release files 13 14 # declaration and definition of `NS_NewNamedThread` 15 nsThreadUtils.h 16 xpcom/threads/nsThreadUtils.cpp 17 18 # Thread-pools are permitted to make dynamically many threads, using dynamic 19 # thread names with explicit numbering. 20 xpcom/threads/nsThreadPool.cpp 21 22 ###### 23 # Test files 24 25 # Tests for XPCOM threads themselves. 26 xpcom/tests/gtest/TestThreadManager.cpp 27 xpcom/tests/gtest/TestThreads.cpp 28 xpcom/tests/gtest/TestThreadUtils.cpp 29 30 # Tests which use dynamic thread names. 31 xpcom/tests/gtest/TestHandleWatcher.cpp 32 33 ###### 34 # Unsorted release files 35 # 36 # Files below this point are grandfathered in. Please do not add new files to 37 # this list -- and please remove any that you can, whether by documenting and 38 # moving them or by confirming that they are no longer required. 39 dom/indexedDB/ActorsParent.cpp 40 dom/quota/ActorsParent.cpp 41 DecodePool.cpp 42 GeckoChildProcessHost.cpp 43 LazyIdleThread.cpp 44 LazyIdleThread.h 45 VRThread.cpp 46 mozStorageConnection.cpp 47 nr_socket_prsock.cpp 48 49 ###### 50 # Unsorted test files 51 # 52 # Files below this point are quasi-grandfathered in: these are test files which 53 # create new threads whose names were formerly in ThreadAllows.txt (without 54 # justification), and have been moved here (without justification). 55 dom/media/doctor/test/gtest/TestMultiWriterQueue.cpp 56 image/test/fuzzing/TestDecoders.cpp 57 image/test/gtest/TestDecodeToSurface.cpp 58 ipc/ipdl/test/gtest/IPDLUnitTest.cpp 59 security/sandbox/common/test/SandboxTestingThread.h 60 storage/test/gtest/test_interruptSynchronousConnection.cpp 61 storage/test/gtest/test_unlock_notify.cpp 62 toolkit/components/telemetry/geckoview/gtest/TestGeckoViewStreaming.cpp 63 toolkit/components/telemetry/tests/gtest/TestScalars.cpp 64 toolkit/components/url-classifier/tests/gtest/Common.cpp 65 tools/fuzzing/ipc/IPCFuzzController.cpp 66 tools/profiler/tests/gtest/GeckoProfiler.cpp 67 xpcom/tests/gtest/TestAtoms.cpp 68 xpcom/tests/gtest/TestAutoRefCnt.cpp 69 xpcom/tests/gtest/TestDelayedRunnable.cpp 70 xpcom/tests/gtest/TestLogging.cpp 71 xpcom/tests/gtest/TestPipes.cpp 72 xpcom/tests/gtest/TestRacingServiceManager.cpp 73 xpcom/tests/gtest/TestRWLock.cpp 74 xpcom/tests/gtest/TestTargetShutdownTask.cpp 75 xpcom/tests/gtest/TestThrottledEventQueue.cpp 76 xpcom/tests/gtest/TestTimers.cpp