code: def get_current_frames():
      
      return dict(
          (thread_id, {'frame': thread2list(frame), 'time': None})
          for thread_id, frame in sys._current_frames().items()
      )
docs: Return current threads prepared for 
      further processing.