I think there may be, yes. ISTR the "AAAARRRRGH" was my reaction to a
very difficult bug I had to track down caused by a vwait.
> I've seen mention of a similar conflicts with proxy. Is there a
> general scheme for dealing with this?
>
Good question. You might try the coroutine::auto package in tcllib, but
I suspect that it'll all need to be in a slave interp.
There's no satisfactory general scheme for dealing with this kind of
thing. coroutine::auto seems to go some way to it.
Let me know how you go.
Colin
My "solution" at present is simply to remove Wub's interception of
[vwait] and deal with any nesting problems if they manifest
themselves...
The AAAARGH stuff, though emotionally expressive, doesn't actually stop the process does it?
On Wednesday, April 6, 2011 11:11:51 PM UTC-4, mcccol wrote:The AAAARGH stuff, though emotionally expressive, doesn't actually stop the process does it?Wub prevents code from using [vwait]. The ldap package wants to use [vwait]. That's a serious impasse.
What about if you package require coroutine::auto and then invoke the ldap stuff from within a coroutine? That actually ought to work, I think.