interaction of 'with' and 'yield'
I'm wondering if a generator that is within a 'with' scope exits the 'with'
when it encounters 'yield'.
I would like to use a generator to implement RAII without having to
syntactically enclose the code in the 'with' scope, and I am hoping that
the the yield does not exit the 'with' scope and release the resource.
.
Relevant Pages
- Re: An amusing diversion
... So I thought, what low voltage, fast BJTs do I have, and I realized I have ... signal generator for a quick 100V booster. ... Now this is with my Tek 475, which is "only" 200MHz, so this pulse ought to ... is a 3' 50 ohm BNC cable from pulse generator to scope input. ... (sci.electronics.design) - Re: Advice on HP Function Generator Repair
... using an external oscilloscope to look at the FG's output. ... the oscilloscope probe and/or the oscilloscope itself not ... you glue a low-pass filter on the end of such a generator. ... place the termination at the scope input rather than at the ... (sci.electronics.repair) - Re: An OT oscilloscope question
... The safe way to do this is to make sure your generator is grounded ... doing you should not float the scope or alternator and obviously ... Next is to use a 10x or 100x probe and connect it to the alternator ... This will allow you to check one leg. ... (rec.crafts.metalworking) - Re: Vpp question
... I am getting a different Vpp measurement on the scope from the signal ... generator, while the frequency is dead on at 200KHz, I got a reading ... *** problems happen at frequencies where the signal's wavelength (in ... (sci.electronics.design) - Re: Measuring Unloaded Q of Loop Antenna?
... I tried a scope and generator and loosly coupled the generator to the ... loop, using a single turn of wire and 50 ohm resistor, and monitored ... The scope probe is 10X. ... How can I accurately measure the Q of the circuit without a Q meter? ... (sci.electronics.basics) |
|