• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • Projects
  • Repositories
    • View all public repositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
David Young
  1. David Young

vchoi_fork

Vailin Choi
my_hdf5_fork
Public
Actions
  • Clone
  • Download

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Graphs
  • Branches
  • Network
  • Latest Activities

Commits

Allen Byrne
dc9774a6424 + e399be1e915
Allen Byrne committed bf5dde71cbeM12 May 2020
Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_12)

* commit 'e399be1e9156840aa0664323dfc00a93ac43575c':
  Complete the comment on thread_main(), explaining why the barrier is used.
  The first implementation seemed to allow for the possibility that a thread could block at the barrier, wake and exit the barrier, re-acquire the barrier lock and increase `nentered` before the other blocked threads woke and checked `nentered % count == 0`.  Then the other blocked threads would check `nentered % count == 0` and, finding it false, go back to sleep in the barrier.  This new implementation waits for a looser condition to obtain so that threads don't go back to sleep in the barrier.
  Test the right condition for the EBUSY return in pthread_barrier_destroy().
  s/exit_failure/EXIT_FAILURE/g
  Implement pthread_barrier(3) for Darwin using a counter, condition variable, and mutex.  Untested.
  Use HD prefix.
  Provide local copies of err(3)- and errx(3)-alike functions for Visual Studio compatibility.
  Oops, the test has to return success in the unimplemented case.
  src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions.
  Remove tongue-in-cheek credit for Rusty Shackleford and Dale Alvin Gribble.
  Follow HDF5 conventions.
  Make sure that H5TS_thread_id() is available as either a function or a macro in all configurations.
  Use a naked pthread_self() call in the HDF5 thread wrappers.
  If H5_HAVE_THREADSAFE is not #defined, define nothing but a stub implementation of H5TS_thread_id().
Showing diff todc9774a6424
  • Allen Byrne
    Allen Byrne committed dc9774a642409 May 2020
    Whitespace cleanup compared to develop
  • Larry Knox
    Larry Knox committed e399be1e915M12 May 2020
    Merge pull request #2575 in HDFFV/hdf5 from ~DYOUNG/werror:fix-thread_id-1_12 to hdf5_1...

Changed files

  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v4.4.1
  • Documentation
  • Contact Support
  • Request a feature
  • About
  • Contact Atlassian
Atlassian