Object Rexx 'guarded' methods in NetRexx & Java.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Object Rexx 'guarded' methods in NetRexx & Java.

Thomas.Schneider
hello there,
  does someone know what the equivalent to a 'guarded' method in Object-Rexx
is in NetRexx?
thanks in advance, Tom.  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>


Reply | Threaded
Open this post in threaded view
|

Re: Object Rexx 'guarded' methods in NetRexx & Java.

rene.vincent.jansen
Hi Thomas,

taking a wild guess here because I never was that deep into Object Rexx,
but if defining a method 'guarded' means that other threads cannot modify
its data while it is executing, then the NetRexx keyword is "protect" on
the method. It also works on "do", "select" and "loop". This becomes a
"synchronised" on the Java method.

If it does not, then, well, I don't know ...

best regards,

René Vincent Jansen
Corporate Centre/Shared Services/MIS
Phone : (+31 20 3)830718
Fax   : (+31 20 6)296247
E-mail      : [hidden email]
Location    : Gustav Mahlerlaan 10
        Tower A, 16th floor, room 94
        1082 PP Amsterdam
        The Netherlands
        PAC HQ1160



|---------+--------------------------------->
|         |           Thomas.Schneider@donau|
|         |           land.at               |
|         |           Sent by:              |
|         |           owner-ibm-netrexx@hurs|
|         |           ley.ibm.com           |
|         |                                 |
|         |                                 |
|         |           03/09/15 10:19 AM     |
|         |                                 |
|---------+--------------------------------->
  >------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                  |
  |        To:      [hidden email]                                                                      |
  |        cc:                                                                                                       |
  |        Subject: Object Rexx 'guarded' methods in NetRexx & Java.                                                 |
  >------------------------------------------------------------------------------------------------------------------|




hello there,
  does someone know what the equivalent to a 'guarded' method in
Object-Rexx
is in NetRexx?
thanks in advance, Tom.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To unsubscribe from this mailing list ( ibm-netrexx ), please send a note
to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>



---------------------------------------------------------------------------
This message (including any attachments) is confidential and may be
privileged. If you have received it by mistake please notify the sender by
return e-mail and delete this message from your system. Any unauthorised
use or dissemination of this message in whole or in part is strictly
prohibited. Please note that e-mails are susceptible to change.
ABN AMRO Bank N.V. (including its group companies) shall not be liable for
the improper or incomplete transmission of the information contained in
this communication nor for any delay in its receipt or damage to your
system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that
the integrity of this communication has been maintained nor that this
communication is free of viruses, interceptions or interference.
---------------------------------------------------------------------------





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>