Home Online Manual
Top
Back: compareTasks
Forward: startTasks
FastBack: resources_lib
FastForward: derham_lib
Up: tasks_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.20.5 printTask

Procedure from library tasks.lib (see tasks_lib).

Usage:
printTask(t), t task

Return:
nothing. Prints information about t.

Note:
'print(t);' and 't;' are shortcuts for 'printTask(t)'.

Example:
 
LIB "tasks.lib";
ring R = 0, (x,y), dp;
ideal I = x9y2+x10, x2y7-y8;
task t;
printTask(t);
==> An uninitialized task
t = "std", list(I);
t;   // the same as printTask(t);
==> A task with the following properties:
==> command:          std
==> no. of arguments: 1
==> state:            created
==> 
startTasks(t);
waitAllTasks(t);
t;
==> A task with the following properties:
==> command:          std
==> no. of arguments: 1
==> state:            completed
==> 
killTask(t);
See also: createTask; getArguments; getCommand; getResult; getState; killTask.