53 # and popped when stopped. Collectors on the stack are paused when not |
53 # and popped when stopped. Collectors on the stack are paused when not |
54 # the top, and resumed when they become the top again. |
54 # the top, and resumed when they become the top again. |
55 _collectors = [] |
55 _collectors = [] |
56 |
56 |
57 # The concurrency settings we support here. |
57 # The concurrency settings we support here. |
58 SUPPORTED_CONCURRENCIES = set(["greenlet", "eventlet", "gevent", "thread"]) |
58 SUPPORTED_CONCURRENCIES = {"greenlet", "eventlet", "gevent", "thread"} |
59 |
59 |
60 def __init__( |
60 def __init__( |
61 self, should_trace, check_include, should_start_context, file_mapper, |
61 self, should_trace, check_include, should_start_context, file_mapper, |
62 timid, branch, warn, concurrency, |
62 timid, branch, warn, concurrency, |
63 ): |
63 ): |