gdesk.core.tasks module

class gdesk.core.tasks.ProcessTask(mainshell, cqs=None)

Bases: gdesk.core.tasks.TaskBase

start()
static start_child_process(cqs, panid=None)
class gdesk.core.tasks.ProcessThreadTask(mainshell, master_process_task, queue_type='pipe')

Bases: gdesk.core.tasks.TaskBase

start()
class gdesk.core.tasks.TaskBase(tasktype='process')

Bases: object

async_break()
call_func(func, args=(), callback=None, wait=False, queue='stdin')
property cmd_queue
enable_profiling()
evaluate(*args, multiple=False)
flow_alive(callback, timeout=5)
getReturnedValues(mode, error_code, result)
is_current_thread()
kill()
print_locals()
print_trace()
process_ready(*args)
register(mainshell)
property return_queue
send_command(command, callback=None)
send_func_and_call(mode, args=(), callback=None, wait=False, timeout=0)
send_input(text)
set_flusher(func)
set_timeit(enable=True)
set_tracing(enable=True)
property stdin_queue
property stdout_queue
sync_break()
system_exit()
unregister()
wait_process_ready(timeout=3)
class gdesk.core.tasks.ThreadTask(mainshell, new_thread=True)

Bases: gdesk.core.tasks.TaskBase

cmd_queues = {}
command_loop(cqs, gui_proxy=None, console_id=None)
finish(close=False)
start()
class gdesk.core.tasks.TimeOutGuiCall(gui_proxy, timeout, callback, args=())

Bases: object

call(*args)
delay_call(*args)