320 If mainThread is True, then we are attaching to the already |
320 If mainThread is True, then we are attaching to the already |
321 started mainthread of the app and the rest of the args are ignored. |
321 started mainthread of the app and the rest of the args are ignored. |
322 </p> |
322 </p> |
323 <dl> |
323 <dl> |
324 |
324 |
325 <dt><i>target</i></dt> |
325 <dt><i>target</i> (function)</dt> |
326 <dd> |
326 <dd> |
327 the start function of the target thread (i.e. the user |
327 start function of the target thread (i.e. the user |
328 code) |
328 code) |
329 </dd> |
329 </dd> |
330 <dt><i>args</i></dt> |
330 <dt><i>args</i> (list of Any)</dt> |
331 <dd> |
331 <dd> |
332 arguments to pass to target |
332 arguments to pass to target |
333 </dd> |
333 </dd> |
334 <dt><i>kwargs</i></dt> |
334 <dt><i>kwargs</i> (dict of Any)</dt> |
335 <dd> |
335 <dd> |
336 keyword arguments to pass to target |
336 keyword arguments to pass to target |
337 </dd> |
337 </dd> |
338 <dt><i>mainThread</i></dt> |
338 <dt><i>mainThread</i> (bool)</dt> |
339 <dd> |
339 <dd> |
340 True, if we are attaching to the already |
340 True, if we are attaching to the already started |
341 started mainthread of the app |
341 mainthread of the app |
342 </dd> |
342 </dd> |
343 </dl> |
343 </dl> |
344 <dl> |
344 <dl> |
345 <dt>Return:</dt> |
345 <dt>Return:</dt> |
346 <dd> |
346 <dd> |
347 identifier of the created thread |
347 identifier of the created thread |
|
348 </dd> |
|
349 </dl> |
|
350 <dl> |
|
351 <dt>Return Type:</dt> |
|
352 <dd> |
|
353 int |
348 </dd> |
354 </dd> |
349 </dl> |
355 </dl> |
350 <a NAME="ThreadExtension.dumpThreadList" ID="ThreadExtension.dumpThreadList"></a> |
356 <a NAME="ThreadExtension.dumpThreadList" ID="ThreadExtension.dumpThreadList"></a> |
351 <h4>ThreadExtension.dumpThreadList</h4> |
357 <h4>ThreadExtension.dumpThreadList</h4> |
352 <b>dumpThreadList</b>(<i></i>) |
358 <b>dumpThreadList</b>(<i></i>) |