]> gerrit.simantics Code Review - simantics/interop.git/blob - Threads.scl
84cb6062de245e5c3cd83ca5829676133203388e
[simantics/interop.git] / 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