[clean-list] Process starting

Hernyák Zoltán aroan at aries.ektf.hu
Tue Mar 7 16:58:13 MET 2006


Hi,

I need a simple function, which starts a *World->*World type function on a separate
thread. This function will write data elements into a file (for example), and terminates
after that. The main process will not take care of it after the starting.

startNewThread         :: (*World -> *World) *World -> *World
startNewThread func env  = ????


But what is the body? :) In a Windows environment we have the ObjectIO library, which
can start a new process, but unfortunately it is too complicated for me to understand.
Can anybody help me to code? Any help would be appreciated.

Thanks in advance.

Zoltan Hernyak


More information about the clean-list mailing list