[Oberon] What do you use for threads/coroutines?

Chris Burrows chris at cfbsoftware.com
Mon May 15 10:36:56 CEST 2017


There was a discussion in 2009 about how to overcome Windows Message queue
blocking problems when using BlackBox Component Pascal:

http://blackboxframework.org/archive/2009/4662.html

Regards,
Chris Burrows
CFB Software
http://www.astrobe.com

> -----Original Message-----
> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
> noreply at z505.com
> Sent: Monday, 15 May 2017 6:28 AM
> To: Oberon
> Subject: [Oberon] What do you use for threads/coroutines?
> 
> This probably has been discussed somewhere before..
> 
> What do componentpascal (and Oberon) developers use to prevent an
> application from hanging?
> 
> In delphi one starts a new thread...
> C++ is similar..
> 
> Does Componentpascal/Oberon have some module that covers this? Calls
> windows threads with a callback function?
> 
> Does it have some coroutine module?
> 
> At what point does one have to start modifying the language itself if
> writing a module won't cut it?
> 
> Sorry if this has been answered before. A quick search on google
> provided not much.
> 
> A common case for an application hanging might be if you have a
> progress bar and you do not put it into a separate thread, or a
> status memo/editarea/editbox that is written to constantly, but you
> want to continue the application while the memo messages are written.
> 
> And when not using threads, Delphi has something called
> Application.ProcessMessages which sort of fakes making a thread
> without being an actual thread, and let's the application respond
> even though normally it would hang. Oberon/ComponentPascal has
> something similar?
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related
> systems https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list