Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We must put the location where we copy the task
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 5 Mar 2010 09:24:04 +0000 (09:24 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 5 Mar 2010 09:24:04 +0000 (09:24 +0000)
commit2ff238ea83a45fc56e3f1ab089f3163d066b3551
tree6dd9eb2917be20b049c39107a42214faa4db0a35
parent2cba8fd12799e5332f13621f2e4e96c4752fa35b
We must put the location where we copy the task
pointer to on the heap, because the stack may move
during the context switches (damn ruby internals)

This kills a "invalid write" error by reading what we copied into the
heap

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7200 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/bindings/ruby/rb_msg_task.c