Skip to content

Asynchronous read hung #35

@jpswinski

Description

@jpswinski

The following code snippet hung forever:

    datasets = [dataset]
    promise = h5obj.readDatasets(datasets, block=False, enableAttributes=False)
    data = promise[dataset][:]

It got "stuck" in h5promise.py:

  def waitOnResult(self, dataset, timeout=None):
      self.conditions[dataset].acquire()
      if self.datasets[dataset] == None:
          self.conditions[dataset].wait(timeout=timeout)
      self.conditions[dataset].release()
      return self.datasets[dataset] == None

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions