Documentation/Source/eric6.DebugClients.Python2.DebugClientThreads.html

changeset 5161
f7b6ded9cc37
parent 5144
1ab536d25072
equal deleted inserted replaced
5160:d8908660fc65 5161:f7b6ded9cc37
97 <b>DebugClientThreads</b>(<i></i>) 97 <b>DebugClientThreads</b>(<i></i>)
98 <p> 98 <p>
99 Constructor 99 Constructor
100 </p><a NAME="DebugClientThreads.attachThread" ID="DebugClientThreads.attachThread"></a> 100 </p><a NAME="DebugClientThreads.attachThread" ID="DebugClientThreads.attachThread"></a>
101 <h4>DebugClientThreads.attachThread</h4> 101 <h4>DebugClientThreads.attachThread</h4>
102 <b>attachThread</b>(<i>target=None, args=None, kwargs=None, mainThread=0</i>) 102 <b>attachThread</b>(<i>target=None, args=None, kwargs=None, mainThread=False</i>)
103 <p> 103 <p>
104 Public method to setup a thread for DebugClient to debug. 104 Public method to setup a thread for DebugClient to debug.
105 </p><p> 105 </p><p>
106 If mainThread is non-zero, then we are attaching to the already 106 If mainThread is True, then we are attaching to the already
107 started mainthread of the app and the rest of the args are ignored. 107 started mainthread of the app and the rest of the args are ignored.
108 </p><dl> 108 </p><dl>
109 <dt><i>target</i></dt> 109 <dt><i>target</i></dt>
110 <dd> 110 <dd>
111 the start function of the target thread (i.e. the 111 the start function of the target thread (i.e. the
116 </dd><dt><i>kwargs</i></dt> 116 </dd><dt><i>kwargs</i></dt>
117 <dd> 117 <dd>
118 keyword arguments to pass to target 118 keyword arguments to pass to target
119 </dd><dt><i>mainThread</i></dt> 119 </dd><dt><i>mainThread</i></dt>
120 <dd> 120 <dd>
121 non-zero, if we are attaching to the already 121 True, if we are attaching to the already
122 started mainthread of the app 122 started mainthread of the app
123 </dd> 123 </dd>
124 </dl><dl> 124 </dl><dl>
125 <dt>Returns:</dt> 125 <dt>Returns:</dt>
126 <dd> 126 <dd>
127 The identifier of the created thread 127 identifier of the created thread
128 </dd> 128 </dd>
129 </dl><a NAME="DebugClientThreads.eventLoop" ID="DebugClientThreads.eventLoop"></a> 129 </dl><a NAME="DebugClientThreads.eventLoop" ID="DebugClientThreads.eventLoop"></a>
130 <h4>DebugClientThreads.eventLoop</h4> 130 <h4>DebugClientThreads.eventLoop</h4>
131 <b>eventLoop</b>(<i>disablePolling=False</i>) 131 <b>eventLoop</b>(<i>disablePolling=False</i>)
132 <p> 132 <p>
137 flag indicating to enter an event loop with 137 flag indicating to enter an event loop with
138 polling disabled (boolean) 138 polling disabled (boolean)
139 </dd> 139 </dd>
140 </dl><a NAME="DebugClientThreads.lockClient" ID="DebugClientThreads.lockClient"></a> 140 </dl><a NAME="DebugClientThreads.lockClient" ID="DebugClientThreads.lockClient"></a>
141 <h4>DebugClientThreads.lockClient</h4> 141 <h4>DebugClientThreads.lockClient</h4>
142 <b>lockClient</b>(<i>blocking=1</i>) 142 <b>lockClient</b>(<i>blocking=True</i>)
143 <p> 143 <p>
144 Public method to acquire the lock for this client. 144 Public method to acquire the lock for this client.
145 </p><dl> 145 </p><dl>
146 <dt><i>blocking</i></dt> 146 <dt><i>blocking</i> (bool)</dt>
147 <dd> 147 <dd>
148 flag to indicating a blocking lock 148 flag to indicating a blocking lock
149 </dd> 149 </dd>
150 </dl><dl> 150 </dl><dl>
151 <dt>Returns:</dt> 151 <dt>Returns:</dt>
152 <dd> 152 <dd>
153 flag indicating successful locking 153 flag indicating successful locking
154 </dd>
155 </dl><dl>
156 <dt>Return Type:</dt>
157 <dd>
158 bool
154 </dd> 159 </dd>
155 </dl><a NAME="DebugClientThreads.setCurrentThread" ID="DebugClientThreads.setCurrentThread"></a> 160 </dl><a NAME="DebugClientThreads.setCurrentThread" ID="DebugClientThreads.setCurrentThread"></a>
156 <h4>DebugClientThreads.setCurrentThread</h4> 161 <h4>DebugClientThreads.setCurrentThread</h4>
157 <b>setCurrentThread</b>(<i>id</i>) 162 <b>setCurrentThread</b>(<i>id</i>)
158 <p> 163 <p>

eric ide

mercurial