[NAME]
ALL.dao.module.mt

[TITLE]
Built-in Multi-threading Module

[DESCRIPTION]


     
   1  critical()[]
   2  start( when : enum<auto,now> = $auto )[=>@V] =>future<@V>
   3  iterate( times :int, threads=2 )[index:int,threadid:int]
   4  
   5  iterate( alist :list<@T>, threads=2 )[item:@T,index:int,threadid:int]
   6  map( alist :list<@T>, threads=2 )[item:@T,index:int,threadid:int =>@T2] =>list<@T2>
   7  apply( alist :list<@T>, threads=2 )[item:@T,index:int,threadid:int =>@T] =>list<@T>
   8  find( alist :list<@T>, threads=2 )[item:@T,index:int,threadid:int =>int] =>tuple<index:int,item:@T>|none
   9  
  10  iterate( amap :map<@K,@V>, threads=2 )[key:@K,value:@V,threadid:int]
  11  map( amap :map<@K,@V>, threads=2 )[key:@K,value:@V,threadid:int =>@T] =>list<@T>
  12  apply( amap :map<@K,@V>, threads=2 )[key:@K,value:@V,threadid:int =>@V] =>map<@K,@V>
  13  find( amap :map<@K,@V>, threads=2 )[key:@K,value:@V,threadid:int =>int] =>tuple<key:@K,value:@V>|none
  14  
  15  iterate( aarray :array<@T>, threads=2 )[item:@T,I:int,J:int,K:int,L:int,M:int,threadid:int]
  16  map( aarray :array<@T>, threads=2 )[item:@T,I:int,J:int,K:int,L:int,M:int,threadid:int =>@T2] =>array<@T2>
  17  apply( aarray :array<@T>, threads=2 )[item:@T,I:int,J:int,K:int,L:int,M:int,threadid:int =>@T] =>array<@T>