(self):
while(now()Based on Miles's suggestion, we can solve the problem by using 'return'
in SegmentA() and keeping 'yield' in ReqServ(). For example,
class RAID(Process):
def ReqServ(self):
while(now()
weafon wrote:
Hi guys,
I have a question about the u
define the commoncode() as an
inline function or marco. Unfortunately, inline and marco do not seems
to be implemented in python. Thus, how can I isolate a common segment
into a function when there are yield operations in the common segment?
Thanks,
Weafon
--
http://mail.python.org/mailma