To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=17781





------- Additional comments from [EMAIL PROTECTED] Mon Aug 22 06:46:50 -0700 
2005 -------
AB> I'm sorry to hear that you had to rewrite a module.   
np :-)  
I have reported this only for completeness, not for complaining.  
  
Anyway, IMHO the problem I reported it was not a regression and not a bug,  
only a new (useful) feature with some side effects:  
But let me better explain the thing:  
  
The package I'm speaking is "Basic Macro Recorder" , a simple macro recorder  
for Calc, fully implemented in Basic and based on listeners.  
  
Somewhere between 1.0 and 1.1 you've introduced the "recursivity", that is the  
ability of a function or sub to call itself.  
  
A side effect of this ability is that a listener can execute an event routine  
before the previous execution has finished.  
In opposition, before the introduction of recursivity, if a listener did the  
call before the previous one had finished, the call was simply lost.  
  
In other words, now you can have 2 or more copies of the same routine running  
at the same time.  
This is not a problem except in case the event handler routine has to deal  
with global data.  
In this case you may have typical problems of thread-programming (race  
conditions, global data inconsistencies, etc.)  
  
Once I had recognized the problem, I solved implementing something near to a  
semaphore.  
It was not so easy, but it was very enjoying an instructive :-)  
 
best regards 
Paolo  

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to