Re: [Oorexx-devel] Package unloader not run ?

2009-05-10 Thread Rick McGuire
The interpreter instance becomes inactive when you terminate it.  You
create the instance, you do something with it, when you are finished,
you terminate it.  If that's the last active instance, then the global
environment is shutdown.

Rick

On Sun, May 10, 2009 at 3:57 PM, Rony G. Flatscher
 wrote:
>
> Rick McGuire wrote:
>> Loaded packages are global to the processthey will only be
>> unloaded once all active interpreter instances go away.
>>
> Hmm. If one uses RexxCreateInterpreter(), which loads a library, but
> just keeps a pointer to that instance, without using it for anything
> (hence no code gets executed via it), does that qualify such an instance
> to be regarded to be "active"? If so, when would a Rexx interpreter
> instance turn to "inactive"?
>
> ---rony
>
>
>> On Sun, May 10, 2009 at 1:28 PM, Rony G. Flatscher
>>  wrote:
>>
>>> It seems that the package unloader function does not run if there exists
>>> an interpreter instance that has not received a Terminate() request.
>>>
>>> In this use-case a RexxStart() is used to run a Rexx program, but
>>> independently, a RexxCreateInstance() instance got created and just
>>> hangs around.
>>>
>>> Is this to be expected or could that be a bug (if so, I would try to
>>> create a nutshell example)?
>>>
>>> ---rony
>>>
>>>
>>>
>>>
>
>
> --
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Package unloader not run ?

2009-05-10 Thread Rony G. Flatscher

Rick McGuire wrote:
> Loaded packages are global to the processthey will only be
> unloaded once all active interpreter instances go away.
>   
Hmm. If one uses RexxCreateInterpreter(), which loads a library, but
just keeps a pointer to that instance, without using it for anything
(hence no code gets executed via it), does that qualify such an instance
to be regarded to be "active"? If so, when would a Rexx interpreter
instance turn to "inactive"?

---rony


> On Sun, May 10, 2009 at 1:28 PM, Rony G. Flatscher
>  wrote:
>   
>> It seems that the package unloader function does not run if there exists
>> an interpreter instance that has not received a Terminate() request.
>>
>> In this use-case a RexxStart() is used to run a Rexx program, but
>> independently, a RexxCreateInstance() instance got created and just
>> hangs around.
>>
>> Is this to be expected or could that be a bug (if so, I would try to
>> create a nutshell example)?
>>
>> ---rony
>>
>>
>>
>> 


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Package unloader not run ?

2009-05-10 Thread Rick McGuire
Loaded packages are global to the processthey will only be
unloaded once all active interpreter instances go away.

Rick

On Sun, May 10, 2009 at 1:28 PM, Rony G. Flatscher
 wrote:
> It seems that the package unloader function does not run if there exists
> an interpreter instance that has not received a Terminate() request.
>
> In this use-case a RexxStart() is used to run a Rexx program, but
> independently, a RexxCreateInstance() instance got created and just
> hangs around.
>
> Is this to be expected or could that be a bug (if so, I would try to
> create a nutshell example)?
>
> ---rony
>
>
>
> --
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel