Open radek-macha opened 10 years ago
The task submit procedure actually doesn't have access to taskId
, since it only commits its task descriptor in the context descriptor container.
As a result, a TaskContextEntry
is created, but contained TaskEntry
objects only start existing once the context is scheduled.
JavaDoc says
@return ID of the newly submitted task
, but the ID of the submitted task's context is returned instead