[clean-list] Multithreading in Clean

XSet x-set@mail.ru
Sun, 13 Jun 2004 15:44:21 +0700


This is a multi-part message in MIME format.

------=_NextPart_000_002B_01C4515D.4BA46590
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

Hi, All!

Is any way to create multiple processing threads in Clean? For example, =
I need
a main thread to process GUI and background thread to make =
videoprocessing. Of course there should be way to pass messages =
(communicate) to each other. I saw something about it in StdProcess. But =
in sources of Object IO I see only one OS Thread and one Clean Thread. I =
have possibility to emulate multiple threads, but in my task the =
videoprocessing thread should work apart the GUI thread.

I see Clean has very nice compiler, it would be great to use it for real =
task.

Thanks in advance.
XSet
------=_NextPart_000_002B_01C4515D.4BA46590
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dkoi8-r">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi, All!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is any way to create multiple =
processing threads in=20
Clean? For example, I need</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>a main thread to process GUI and =
background thread=20
to make videoprocessing. Of course there should be way to pass messages=20
(communicate) to each other. I saw something about it in StdProcess. But =
in=20
sources of Object IO I see only one OS Thread and one Clean Thread. I =
have=20
possibility to emulate multiple threads, but in my task the =
videoprocessing=20
thread should work apart the GUI thread.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I see Clean has very nice compiler, it =
would be=20
great to use it for real task.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>XSet</FONT></DIV></BODY></HTML>

------=_NextPart_000_002B_01C4515D.4BA46590--