Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java/src/main/java/com/genexus/util/SubmitThreadPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void run()
}

// Si llego aqui es porque tengo utilizados todos los thread, asi que encolo el submit
submitQueue.addElement(new Object[]{proc, new Integer(id), parameterPacker.toByteArray()});
submitQueue.addElement(new Object[]{proc, new Integer(id), parameterPacker.toByteArray(), ctx});
}

protected synchronized static void incRemainingSubmits()
Expand Down Expand Up @@ -206,7 +206,7 @@ public void run()
{ // Aqui debo sincronizar pues se setea la variable inUse
if(nextSubmit != null)
{
setProc((ISubmitteable)nextSubmit[0], ((Integer)nextSubmit[1]).intValue(), (Object[])new GXParameterUnpacker((byte[])nextSubmit[2]).readObject(), context);
setProc((ISubmitteable)nextSubmit[0], ((Integer)nextSubmit[1]).intValue(), (Object[])new GXParameterUnpacker((byte[])nextSubmit[2]).readObject(), (ModelContext) nextSubmit[3]);
}
else
{
Expand Down
Loading