RE: synchronization

From: Walter D. Gallegos <"Walter>
Date: Sat, 15 Jun 2002 22:25:33 -0300

----boundary-LibPST-iamunique-109148856_-_-
Content-type: text/plain

Juan Antonio.

One solution to simulation in Oberon is presented in "Programin in Oberon".
I think that you can find the sources at ETHZ FTP site if you don't have
access to the Reiser-Wirth book.

Walter.

-----Mensaje original-----
De: Juan Antonio Ortega <amortega{([at]})nowhere.xy
Para: blackbox{([at]})nowhere.xy
Fecha: Sábado, 15 de Junio de 2002 05:07 a.m.
Asunto: synchronization


>Hello,
>
>I am interested on synchronizing threads to make a simulation of the dining
>philosophers problem. I am looking for semaphores or something like that. I
>haven't found anything in the module Services. Ideas?
>
>Regards,
>Juan Antonio
>
>--------------------------------------------
>
>To unsubscribe from this mailing list, send a message containing the word

"unsubscribe" to:
> blackbox-request{([at]})nowhere.xy
>
>To get a list of valid e-mail commands and instructions on their usage,
send a message containing the word "help" to the above address.
>
>Send any problem reports or questions related to this email list to the
list owner at
> owner-blackbox{([at]})nowhere.xy
>
>Current posting policy:
>
>a) To post you should use the same address by which you are subscribed to
the mailing list. That way, the list server will recognize you as subscriber
and forward your posting immediately, without creating any overhead.
>
>b) If, for some reason, you cannot post from the address, by which you are
subscribed, your message will be moderated to avoid spam. Please understand
that moderation will often cause some delay, in particular over weekends or
holydays.

--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.


Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


----boundary-LibPST-iamunique-109148856_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"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gd29yZCAiaGVscCIgdG8gdGhlIGFib3ZlIGFk
ZHJlc3MuXHBhcg0KXHBhcg0KU2VuZCBhbnkgcHJvYmxlbSByZXBvcnRzIG9yIHF1ZXN0aW9ucyBy
ZWxhdGVkIHRvIHRoaXMgZW1haWwgbGlzdCB0byB0aGUgbGlzdCBvd25lciBhdFxwYXINCiAgIG93
bmVyLWJsYWNrYm94QG9iZXJvbi5jaFxwYXINClxwYXINCkN1cnJlbnQgcG9zdGluZyBwb2xpY3k6
XHBhcg0KXHBhcg0KYSkgVG8gcG9zdCB5b3Ugc2hvdWxkIHVzZSB0aGUgc2FtZSBhZGRyZXNzIGJ5
IHdoaWNoIHlvdSBhcmUgc3Vic2NyaWJlZCB0byB0aGUgbWFpbGluZyBsaXN0LiBUaGF0IHdheSwg
dGhlIGxpc3Qgc2VydmVyIHdpbGwgcmVjb2duaXplIHlvdSBhcyBzdWJzY3JpYmVyIGFuZCBmb3J3
YXJkIHlvdXIgcG9zdGluZyBpbW1lZGlhdGVseSwgd2l0aG91dCBjcmVhdGluZyBhbnkgb3Zlcmhl
YWQuXHBhcg0KXHBhcg0KYikgSWYsIGZvciBzb21lIHJlYXNvbiwgeW91IGNhbm5vdCBwb3N0IGZy
b20gdGhlIGFkZHJlc3MsIGJ5IHdoaWNoIHlvdSBhcmUgc3Vic2NyaWJlZCwgeW91ciBtZXNzYWdl
IHdpbGwgYmUgbW9kZXJhdGVkIHRvIGF2b2lkIHNwYW0uIFBsZWFzZSB1bmRlcnN0YW5kIHRoYXQg
bW9kZXJhdGlvbiB3aWxsIG9mdGVuIGNhdXNlIHNvbWUgZGVsYXksIGluIHBhcnRpY3VsYXIgb3Zl
ciB3ZWVrZW5kcyBvciB9fQBXMWxaR2xoZEdWc2VT


----boundary-LibPST-iamunique-109148856_-_---
Received on Sun Jun 16 2002 - 03:25:33 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:43 UTC