module threads
   type thread 
      integer Logunit
      integer mem_heap_unit
      integer mem_int
      integer mem_dp
      integer mem_tot
      integer mem_real
      integer err
   end type
end module 
