ThreadAllows.txt (2692B)
1 # This file is ingested by `ThreadAllows.py` to produce a list of thread names 2 # which our clang plugin will allow to be used with `NS_NewNamedThread`. 3 # 4 # Permitted thread names are a maximum of 15 characters in length, and must be 5 # string literals at their point-of-use in the code -- i.e., in the invocation 6 # of `NS_NewNamedThread`. 7 # 8 # Within this file, each permitted thread name is on a separate line. Comments 9 # begin with `#`, as seen here. Leading and trailing whitespace, trailing 10 # comments, and blank lines are ignored, and may be used freely. 11 # 12 # Please explain the addition of any new thread names in comments, preferably 13 # with a pointer to a relevant bug. (Do not add thread names only used in tests 14 # to this file; instead, add the test file to `ThreadFileAllows.txt`.) 15 16 ###### 17 # Gecko/Firefox thread names 18 # (See also "Unsorted thread names", below.) 19 20 # Used by `nsUpdateProcessor` to check for updates. May also be used for polling 21 # the update process. 22 UpdateProcessor 23 # Used by `BackgroundClipboardContentAnalysisParent` to handle clipboard requests 24 # from content processes. 25 BkgrndClipboard 26 27 ###### 28 # Thunderbird-only thread names 29 IMAP 30 31 ###### 32 # Other 33 Checker Test # used only as part of tests for the thread-checker itself 34 Testing Thread # used only as part of tests for toolkit/components/url-classifier/tests/gtest/ 35 36 ###### 37 # Unsorted thread names 38 # 39 # Thread names below this point are grandfathered in. Please do not add new 40 # thread names to this list -- and please remove any that you can, whether by 41 # documenting and moving them or by confirming that they are no longer required. 42 # 43 # In particular, if a thread name is only used for testing, please consider 44 # moving its declarator to `ThreadFileAllows.txt`. 45 46 BGReadURLs 47 BHMgr Monitor 48 BHMgr Processor 49 COM Intcpt Log 50 COM MTA 51 Cache I/O 52 Cameras IPC 53 CanvasRenderer 54 Compositor 55 Cookie 56 CrashRep Inject 57 DDMediaLogs 58 DOMCacheThread 59 DataChannel IO 60 DataStorage 61 DesktopCapture 62 File Dialog 63 FileWatcher IO 64 Font Loader 65 FontEnumThread 66 Function Broker 67 GMPThread 68 Gamepad 69 GraphRunner 70 HTML5 Parser 71 ICS parser 72 IPC Launch 73 IPDL Background 74 IdentityCrypto 75 ImageBridgeChld 76 LS Thread 77 MDCDMThread 78 MediaCache 79 MediaTelemetry 80 MediaTrackGrph 81 MemoryPoller 82 mtransport 83 NamedPipeSrv 84 Netlink Monitor 85 OSKeyStore 86 OutputDrain 87 PaintThread 88 Permission 89 PlayEventSound 90 ProcessHangMon 91 ProfSymbolTable 92 ProfilerChild 93 ProxyResolution 94 RemoteLzyStream 95 RemVidChild 96 Renderer 97 ResetCleanup 98 SaveScripts 99 Socket Thread 100 SpeechWorker 101 StressRunner 102 SuicideManager 103 System Proxy 104 TelemetryModule 105 Timer 106 ToastBgThread 107 TRR Background 108 URL Classifier 109 VideoCapture 110 VRService 111 VsyncIOThread 112 Wifi Monitor 113 Worker Launcher 114 speechd init 115 thread 116 thread shutdown 117 wifi tickler 118 WMFCDMThread