----boundary-LibPST-iamunique-12117320_-_-
Content-type: text/plain
Hello Juan Antonio,
BlackBox provides no real threads and the module Services is just a way to
help several tasks to cooperate, if they have been built for that (looping
short activities). If you want true, easy to program, threads you can try
the new operating system Bluebottle:
http://bluebottle.ethz.ch/
Its language is Active Oberon, which is very similar to Component Pascal,
and it is free. But, of course, it's an OS, and it doesn't work on Windows,
nor on Mac.
Regards,
Gérard
----- Original Message -----
From: Juan Antonio Ortega <amortega{([at]})nowhere.xy
To: <blackbox{([at]})nowhere.xy
Sent: Saturday, June 15, 2002 4:10 PM
Subject: 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-12117320_-_-
Content-type: application/rtf
Content-transfer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