[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: 5.1alpha count and line hook
From: Jan_Kratochvíl <jan.kratochvil () illusionsoftworks ! cz>
Date: 2005-10-30 8:31:12
Message-ID: ip5zo0.ym67j.4z2w4os865jep66g3w6ixen91.rubymail () illusionsoftworks ! cz
[Download RAW message or body]
>> i experienced strange behaviour with lua 5.1 alpha using count hooks
>> and line hooks together. Sometimes i didn't get the line hook
>
> Actually we never thought that someone could use both hooks together...
>
Yes, it is not quite common. But i am trying (succesfully so far) make
preemptive multithreading using coroutines and yielding in count hook
after given time. Plus I am writing debugger which uses line hooks.
Turning the debugger off is mostly about not registering line hooks
(call & return as well) so it is comfortable for me to have both hooks.
>
>> Removing this return fixed my problem. But is it safe to do?
>
> It seems to be (although some tests would improve my confidence).
After some tests it looks functional. At least i didn't spot any side
effect. Can you fix it in future releases, please?
>
> -- Roberto
>
Thanks for your time,
Jan Kratochvil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic