]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.interop.scl/scl/Interop/Threads.scl
SCL threads support
[simantics/interop.git] / org.simantics.interop.scl / scl / Interop / Threads.scl
1 importJava "org.simantics.interop.scl.Threads" where
2   
3   runAsync :: (<Proc>()) -> <Proc> SCLThread
4   
5   setMaximumPoolSize :: Integer -> <Proc> ()
6
7 importJava "org.simantics.interop.scl.Threads$SCLThread" where
8   data SCLThread
9   
10   isRunning :: SCLThread -> <Proc> Boolean
11   isCompleted :: SCLThread -> <Proc> Boolean
12   hasErrors :: SCLThread -> <Proc> Boolean
13   getReturnValue :: SCLThread -> <Proc> Maybe a
14   
15