101 <h4>DebugClientThreads.attachThread</h4> |
101 <h4>DebugClientThreads.attachThread</h4> |
102 <b>attachThread</b>(<i>target=None, args=None, kwargs=None, mainThread=False</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 |
141 <h4>DebugClientThreads.lockClient</h4> |
141 <h4>DebugClientThreads.lockClient</h4> |
142 <b>lockClient</b>(<i>blocking=True</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> |