Re: [Oorexx-devel] Ad semcls.cls in rexxref (Re: Samples take 3

2020-03-20 Thread Rony G. Flatscher
On 20.03.2020 14:14, Rick McGuire wrote:
>
> On Fri, Mar 20, 2020 at 9:13 AM Rony G. Flatscher  > wrote:
>
> On 19.03.2020 12:21, Rick McGuire wrote:
> > the sem.cls example is not intended to show how to use semaphores, but 
> rather an example for how
> > to use guard. I think the example needs to be kept, but have no 
> objections to including a
> link to
> > the new classes.
>
> Thanks, have added the links locally.
>
> One more question (cannot find the thread): shall I remove the 
> documentation for EventSemaphore's
> and MutexSemaphore's close method?
>
> Not until they have been removed from the code and the tests.

Thanks, committed the rexxref documentation change.

Temporarily the resulting rexxref.pdf can be viewed from
, 
cf. the end of chpater
"12.4.4.1. Semaphores".

---rony

___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Ad semcls.cls in rexxref (Re: Samples take 3

2020-03-20 Thread Rick McGuire
On Fri, Mar 20, 2020 at 9:13 AM Rony G. Flatscher 
wrote:

> On 19.03.2020 12:21, Rick McGuire wrote:
> > the sem.cls example is not intended to show how to use semaphores, but
> rather an example for how
> > to use guard. I think the example needs to be kept, but have no
> objections to including a link to
> > the new classes.
>
> Thanks, have added the links locally.
>
> One more question (cannot find the thread): shall I remove the
> documentation for EventSemaphore's
> and MutexSemaphore's close method?
>
> Not until they have been removed from the code and the tests.


> ---rony
>
>
>
>
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Ad semcls.cls in rexxref (Re: Samples take 3

2020-03-20 Thread Rony G. Flatscher
On 19.03.2020 12:21, Rick McGuire wrote:
> the sem.cls example is not intended to show how to use semaphores, but rather 
> an example for how
> to use guard. I think the example needs to be kept, but have no objections to 
> including a link to
> the new classes.

Thanks, have added the links locally.

One more question (cannot find the thread): shall I remove the documentation 
for EventSemaphore's
and MutexSemaphore's close method?

---rony




___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Ad semcls.cls in rexxref (Re: Samples take 3

2020-03-19 Thread Rick McGuire
the sem.cls example is not intended to show how to use semaphores, but
rather an example for how to use guard. I think the example needs to be
kept, but have no objections to including a link to the new classes.

Rick

On Thu, Mar 19, 2020 at 6:38 AM Rony G. Flatscher 
wrote:

> On 18.03.2020 08:14, P.O. Jonsson wrote:
>
>
> Among the samples there is a class *semcls.cls* that implements a
> semaphore mechanism. *Semcls.cls* is mentioned in the readme, but the
> corresponding *usessem.rex* is missing so one does not really know how to
> use the class. All other classes in the samples have  matching
> *useclass.rex*
>
> Does anyone volounteer to write the *usesem.rex*? If not I will remove it
> from the list.
>
> *Semcls.cls* is also mentioned in rexxref, as an example in 12.4.4.1.
> From the remark at the end of that section I understand that there are now
> sys functions available that implements the same functionality, so maybe
> this example is superfluous?
>
> Maybe 12.4.4.1 should remove the semcls.cls code and only hint that an
> ooRexx sample implementation of semaphores can be found in the samples
> directory. Instead references to the new classes EventSemaphore and
> MutexSemaphore should be supplied such that a link gets established. This
> has the advantage that the user can also study the examples there that take
> advantage of the semaphores.
>
> If no one objects I will change 12.4.4.1 accordingly.
>
> ---rony
>
>
>
>
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel