Subject: RE: [jade-develop] block() and restart()
From: Peter Ebben (Peter.Ebben@telin.nl)
Date: Mon Feb 03 2003 - 09:15:00 MET
Hi,
>-----Original Message-----
>From: Manuel Padilha [mailto:m.padilha@ieee.org]
>Sent: Saturday, February 01, 2003 3:38 PM
>To: jade-develop@sharon.cselt.it
>Subject: [jade-develop] block() and restart()
>
>
>hi all,
>
>as far as i can tell, if i call block() on a certain
>behaviour, after it
>gets inserted in the blocked queue the only way to get it back
>into the
>ready queue is throught a restart() call... is this correct?
No.
A blocked behaviour gets awakened when a message arives for the agent it
belongs to. See Programmers Guide for details.
>I'm having some very strange problems because i call block()
>on a behaviour
>imediately before the action() method ends. The behaviour does
>block, but
>after certain events on a concurrent behaviour it gets
>awakened... and no
>restart() was ever called!
Perhaps a message was received by the agent?
>am i missing something on the block() / restart() mechanism?
>
>thanks in advance,
>--
>
>---------------------------------
>- Manuel Padilha
>- email: m.padilha@ieee.org
>- web: http://padilha.ath.cx/
>---------------------------------
Regards,
Peter Ebben
This archive was generated by hypermail 2a22 : Mon Feb 03 2003 - 09:12:40 MET